[antlr-interest] Lexer parsing problem and Documentation
Robin Davies
rerdavies at rogers.com
Wed Jun 6 13:08:46 PDT 2007
> but this will only match "asm(" provided there is no space between "asm" and "(".
As a lexer rule?
fragment WS_CHAR: ' ' | '\t' ...etc.;
(("__asm"|"_asm"|"asm") WS_CHAR * LPAREN)=>
Your white-space rule would be a lexer rule, and, therefore, not be in effect in the middle of a lexer rule.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.antlr.org/pipermail/antlr-interest/attachments/20070606/003face9/attachment-0001.html
More information about the antlr-interest
mailing list