* 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:
Minero Aoki 2008-01-14 17:34:02 +00:00
parent 7760b11d55
commit 339365c677
2 changed files with 6 additions and 1 deletions

View File

@ -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.

View File

@ -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