[antlr-interest] Variables starting with _
Andrew Deren
andrew at adersoftware.com
Fri Mar 14 14:59:17 PST 2003
It seems antlr won't accept variables that start with _ (underscore)
for example, a parser rule:
rule { Exp _exp = null; }
:
_exp = exp
;
will result in TokenStreamException. I don't know if that is meant to be
that way, but I would think it should be fine, because _exp is valid
java/c++/c# variable name.
Andrew
Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
More information about the antlr-interest
mailing list