[antlr-interest] Retaining Comments after parsing the file

"Paul Bouché (NSN)" paul.bouche at nsn.com
Tue Apr 21 02:10:50 PDT 2009


Another alternative you could do is not use source code instrumentation, 
but bytecode instrumentation ;-)

To do that look at the ASM toolkit.

Andreas Meyer schrieb:
> 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.
>>     
>
>
> List: http://www.antlr.org/mailman/listinfo/antlr-interest
> Unsubscribe: http://www.antlr.org/mailman/options/antlr-interest/your-email-address
>   


-- 
Paul Bouché
Voice: +49 30 590080-1284
 
Nokia Siemens Networks GmbH & Co. KG, An den Treptowers 1, 12435 Berlin, Germany
Sitz der Gesellschaft: München / Registered office: Munich
Registergericht: München / Commercial registry: Munich, HRA 88537
WEEE-Reg.-Nr.: DE 52984304

Persönlich haftende Gesellschafterin / General Partner: Nokia Siemens Networks Management GmbH
Geschäftsleitung / Board of Directors: Lydia Sommer, Olaf Horsthemke
Vorsitzender des Aufsichtsrats / Chairman of supervisory board: Lauri Kivinen
Sitz der Gesellschaft: München / Registered office: Munich
Registergericht: München / Commercial registry: Munich, HRB 163416

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.antlr.org/pipermail/antlr-interest/attachments/20090421/3eecde6c/attachment.html 


More information about the antlr-interest mailing list