lex and a C style preprocessor

sam.ravnborg@image.dk (Sam Ravnborg)
14 Mar 1997 00:32:14 -0500

          From comp.compilers

Related articles
lex and a C style preprocessor sam.ravnborg@image.dk (1997-03-14)
Re: lex and a C style preprocessor plugge@biv7.sr.fh-mannheim.de (1997-03-18)
| List of all articles for this month |

From: sam.ravnborg@image.dk (Sam Ravnborg)
Newsgroups: comp.compilers
Date: 14 Mar 1997 00:32:14 -0500
Organization: Image Scandinavia
Keywords: lex, question

Anyone out there who have implemented a lexer (based on (f)lex) that
supports preprocessor directives?
I need only the basic syntax:
#define <identifier>
#undef <identifier>
#ifdef <identifier>
#elif <identifier>
#else
#endif


Thanks in advance
Sam Ravnborg - sam.ravnborg@image.dk
--


Post a followup to this message

Return to the comp.compilers page.
Search the comp.compilers archives again.