Not directly. However, I have heard that the mcpp pre-processor is useful in
this regard, because it was used by the
'elsa' c++ parser which had to address the same problem. See
https://blog.mozilla.org/tglek/2008/07/18/pork-mcpp-oink-and-elsawhats-going-on/
Alex
From: Jonathan S. Shapiro [email protected]
>
>
>
>Does anyone know of a parser for C that does a decent job of parsing and
>produces a well-documented AST?
>
>
>Preferably one that makes at least a half-assed attempt to keep some sort of
>record of macro definitions and expansions...
>
_______________________________________________
bitc-dev mailing list
[email protected]
http://www.coyotos.org/mailman/listinfo/bitc-dev