[antlr-interest] Re: How to deal with languages with preproce
	ssor s?
    mzukowski at bco.com 
    mzukowski at bco.com
       
    Fri Apr  5 14:55:06 PST 2002
    
    
  
> > Any ideas please?. How to deal with the preprocessor directives 
> in 
> > > C/C++ and C#.
> > 
> > For the GCC parser I run the preprocessor externally.
> 
> What does this mean?. What preprocessor do you run externally?. Is it 
> a separate Lexer/Parser that you generated using ANTLR as well?
It means I run gcc in preprocessor mode and pipe that into my lexer's stdin.
> Thanks. I would need to hndle the whole gamut of preprocessor 
> directives in the C language family.
Why?  What are you trying to do?
 
Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 
    
    
More information about the antlr-interest
mailing list