[antlr-interest] Problem in getting the Identifiers

Premkumar Rathanavelu rprememail at yahoo.com
Tue Jun 7 18:27:16 PDT 2005


Hi to all.,
 
I'm writing a preprocessor grammar and need to get only 
ID's from the below eg:
 
eg: #if (A + B | C+D)  
 
here A,B,C,D are Identifiers.
 
I want to get only the ID's that is A,B,C,D.
 
Please help me to frame a rule(lexer/parser) for this.
 
Thanks.,
Prem
 

		
---------------------------------
Yahoo! Mail Mobile
 Take Yahoo! Mail with you! Check email on your mobile phone.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.antlr.org/pipermail/antlr-interest/attachments/20050607/48ffd361/attachment.html


More information about the antlr-interest mailing list