[antlr-interest] % in target code

Olivier Lefevre lefevrol at yahoo.com
Wed Mar 26 16:30:13 PDT 2008


It gets weirder, though. If I use % within an @lexer::members block instead 
of within an action block I get

     invalid StringTemplate % shorthand syntax: '%'

and I try to use \% instead then I get

     invalid StringTemplate % shorthand syntax: '%'
     invalid StringTemplate % shorthand syntax: '%'

Any idea?

-- O.L.



More information about the antlr-interest mailing list