mirror of https://github.com/aamine/cbc
* net/loveruby/cflat/parser/Parser.jj: should generate special token for block comment, instead of just skipping.
git-svn-id: file:///Users/aamine/c/gitwork/public/cbc/trunk@3845 1b9489fe-b721-0410-924e-b54b9192deb8
This commit is contained in:
parent
7760b11d55
commit
339365c677
|
@ -1,3 +1,8 @@
|
|||
Tue Jan 15 02:34:00 2008 Minero Aoki <aamine@loveruby.net>
|
||||
|
||||
* net/loveruby/cflat/parser/Parser.jj: should generate special
|
||||
token for block comment, instead of just skipping.
|
||||
|
||||
Tue Jan 15 02:31:14 2008 Minero Aoki <aamine@loveruby.net>
|
||||
|
||||
* net/loveruby/cflat/parser/Parser.jj: LOOKAHEAD is useless here.
|
||||
|
|
|
@ -270,7 +270,7 @@ SPECIAL_TOKEN: { <([" ","\t","\n","\r"])+> }
|
|||
// #@@range/lex_block_comment{
|
||||
MORE: { "/*" : IN_BLOCK_COMMENT }
|
||||
<IN_BLOCK_COMMENT> MORE: { <~[]> }
|
||||
<IN_BLOCK_COMMENT> SKIP: { "*/" : DEFAULT }
|
||||
<IN_BLOCK_COMMENT> SPECIAL_TOKEN: { "*/" : DEFAULT }
|
||||
// #@@}
|
||||
|
||||
// line comment
|
||||
|
|
Loading…
Reference in New Issue