[antlr-interest] Possible bug in subrule invertion
Tom Zagotta
tzagotta1 at sienasystems.com
Fri Apr 9 10:39:14 PDT 2004
> If this is in the lexer, you cannot invert "rules" such as
> LINE_FEED.
> Done on purpose, I'm afraid. ;)
In this case, LINE_FEED would be best defined as a macro, which
unfortunately is not supported by ANTLR. Macros (or something functionally
equivalent or better) would be a nice addition for helping to build up
lexers from smaller parts.
Regards,
- Tom
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/antlr-interest/
<*> To unsubscribe from this group, send an email to:
antlr-interest-unsubscribe at yahoogroups.com
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
More information about the antlr-interest
mailing list