[antlr-interest] line numbers to literals

Dieter Frej dieter_frej at gmx.net
Mon Feb 13 07:57:23 PST 2006


Hi,

I am using java15.g grammar from Michael Studman and I "enhanced" the
CommonAST to have line numbers as described in
http://www.jguru.com/jguru/faq/view.jsp?EID=62654

I was wondering what I have to change in the grammar in order to get the
line numbers for the modifiers (like public, static) and Literals like
if, while, try, ...

Thanks

Dieter


More information about the antlr-interest mailing list