C preprocessor yacc-able grammer

RB <rbarrett@adelphia.net>
15 Jan 2000 14:43:40 -0500

          From comp.compilers

Related articles
C preprocessor yacc-able grammer rbarrett@adelphia.net (RB) (2000-01-15)
Re: C preprocessor yacc-able grammer Esa.Nurmi@nokia.com (Esa Nurmi) (2000-01-21)
| List of all articles for this month |
From: RB <rbarrett@adelphia.net>
Newsgroups: comp.compilers
Date: 15 Jan 2000 14:43:40 -0500
Organization: Compilers Central
Keywords: C, parse, question

I have a need for a C parser. I have found yacc-able and lex-able
specifications, but they don't include preprocessor directives.
Obviously, I can add the necessary code to the lexical specification and
re-run it through lex, but I need help with the parser part.


Can anyone help me find a current grammar specification for the C
preprocessor?


Thanks in advance,


Randy


Post a followup to this message

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