[antlr-interest] How to write this lexer rule?
chain one
chainone at gmail.com
Tue Jan 13 01:51:05 PST 2009
This also could not work : ( :
fragment
FUNCTION:
'FUNCTION'
;
fragment
END_FUNCTION
:'END_FUNCTION'
;
FUNCTION_DECL
:FUNCTION
{
SKIP();
}
( ~(FUNCTION|END_FUNCTION)
|
FUNCTION_DECL
)* END_FUNCTION SEMI
;
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.antlr.org/pipermail/antlr-interest/attachments/20090113/2ee3e243/attachment.html
More information about the antlr-interest
mailing list