[antlr-interest] Lexer not pulling in fragments?
Joseph Klumpp
jklumpp0 at gmail.com
Thu Apr 2 08:29:51 PDT 2009
Thanks John and Jim - the explanation of IDPART needing two
interpretations (underscore vs. no underscore) makes perfect sense and
explains why hoisting the rule in works. Also, setText works like a
charm. John, you're correct about guards like __GUARD_H_ being only a
programming convention, but I'm just trying to populate some default
fields and not too worried about non-existing info. Thanks again
though for explaining why the expansion of IDPART within GUARD worked.
-JK
More information about the antlr-interest
mailing list