[antlr-interest] Retaining Comments after parsing the file

Andreas Meyer andreas.meyer at smartshift.de
Mon Apr 20 05:51:46 PDT 2009


It seems you are using ANTLR2. There, hidden tokens were handled 
differently from ANTLR3 (see http://www.antlr2.org/doc/streams.html)

Best,
Andreas Meyer

smartShift
smart e*lliance GmbH
Willy-Brandt Platz 6
68161 Mannheim
Germany

T +49 (621) 400 676-13
F +49 621 400 67606

Geschäftsführer:  Stefan Hetges 
Amtsgericht Hamburg, HRB 83484
Ust.-ID-Nr.: DE 813489791

vasanthi a schrieb:
> Hi All
> But when I try to use this syntax it says undefined symbol $.
> The below mentioned syntax is java
> "undefined char $'
>  
> Vasanthi.



More information about the antlr-interest mailing list