[antlr-interest] Problem getting all tokens in AST for GnuCParser.g
edcjones at yahoo.com
Sat Mar 8 14:11:41 PST 2003
I want GnuCParser.g to send all tokens (except preprocessor directives
and comments) to the AST. I removed a number of "!"s from the grammar.
If I remove the "!" from
LPAREN ( e1:expr )? SEMI ( e2:expr )? SEMI ( e3:expr )? RPAREN
antlr appears to go into an infinite loop. How can I get the "(", ";",
";", and ")" included in the AST?
Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
More information about the antlr-interest