[antlr-interest] Problem with Parsing

Premkumar Rathanavelu rprememail at yahoo.com
Tue Mar 22 12:14:42 PST 2005


Hi to all.,
  I'm writing a Preprocessor grammar and fed up with its complex
structure. Even more worse in handling #if and #define directives
 
For eg:
#if !defined(UNALLIGNED_INT_OP) && defined(DEBUG) 
My rule should parse everything after #if, but i tried with lot 
options and followed many rules but i could not do it.
 
So please help me by providing some tips ..
 
Thanking You,
PREM

		
---------------------------------
Do you Yahoo!?
 Yahoo! Mail - Helps protect you from nasty viruses.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.antlr.org/pipermail/antlr-interest/attachments/20050322/3bfefcc0/attachment.html


More information about the antlr-interest mailing list