[antlr-interest] Element labels & ANTLR Strip tool

Sunil Sawkar ssawkar at aehr.com
Wed Apr 27 16:27:01 PDT 2011


Hi,

I have a grammar with element labels and action code in C++,  embedded.  When I use the Strip tool to remove the action code, it 
also removes the element labels. Perhaps that is intended. Any way that I can keep the element labels and just remove the action 
code that is typically enclosed within { } pair ?  The element labels are needed when working with the grammar in Eclipse / xtext.

Any help appreciated... .

Thanks,
 
Sunil Sawkar
Fremont, CA


More information about the antlr-interest mailing list