[antlr-interest] $ Expansion Conflict w/ Class Name

Foust javafoust at gmail.com
Wed Aug 13 13:36:08 PDT 2008


Johannes Luber wrote:
> Foust wrote:
> > Although Java allows class names beginning with $, ANTLR does not.
> >
> > Is there a known workaround?
> 
> \$ may work.

Yes. That works (since Antlr processes the actions as strings).

Brent



More information about the antlr-interest mailing list