[antlr-interest] Antlr 3 syntax question
Terence Parr
parrt at cs.usfca.edu
Wed Apr 26 15:07:24 PDT 2006
On Apr 26, 2006, at 3:00 PM, shmuel siegel wrote:
> In Antlr2 I was able to change the text of the token stream with
> code like this
>
> ESCAPE
> : '\\'
> ( '\\' { $setText("\\"); }
> | '"' { $setText("\""); }
> )
> ;
>
> What is the equivalent in Antlr 3?
Kay or Jim submitted a fix for me but I've not included yet. :( A
big hole...sorry.
I'm about 3 weeks away from being to code again! Hooray!
Ter
More information about the antlr-interest
mailing list