Matt Wette <[email protected]> skribis:

> I can’t remember if any C99 items are not in.  I do not have any GNU99 
> extensions in there.  However, this is not a faithful parser for C99.  The 
> purpose is not to compile, but to generate translators and auto-coders.  I 
> have built the parser with the following features:
> 1) The c-preprocessor parsing is merged in with the lexical analyzer.
> 2) The parse tree is “file oriented”, so that you can track what elements are 
> in the top-level file.
> 3) The parser will parse comments.

OK.

Keeping things this way, with CPP parsing built in, is useful to
analyzers + pretty-printers, and also for semantic patching tools like
Coccinelle.

Ludo’.

Reply via email to