[antlr-interest] Java1.5 grammar and enum as identifier and not
as a keyword
Akhilesh Mritunjai
virtualaspirin at yahoo.com
Sun Jun 26 11:47:07 PDT 2005
Hi
I encountered similar problem, and since we were
transitioning to 1.5, we decided to clean up the code.
Fortunately, for java 1.4, it can be done using a
simple find/replace. sed -i 's/\<enum\>/_enum/' takes
care of it :-)
--- Jörg Rech <joerg.rech at gmail.com> wrote:
> I have a problem parsing the java libraries using
> the java1.5.g
> grammar updated by Scott Wisniewski. Several
> statements use the
> java1.5-keyword "enum" as a name for a variable.
__________________________________
Yahoo! Mail
Stay connected, organized, and protected. Take the tour:
http://tour.mail.yahoo.com/mailtour.html
More information about the antlr-interest
mailing list