Niall Douglas
Niall Douglas
I've had a few people complain about this, even though this behaviour is perfectly standards conforming. I'll look into it.
https://github.com/ned14/pcpp/issues/53 has a workaround for lack of `__has_include`. Unless you turn on a `--passthru-*` option `pcpp` will behave like a normal C++ preprocessor and expand all macros.
FYI https://github.com/ned14/outcome/blob/develop/CMakeLists.txt#L115 is how Outcome uses `pcpp` to generate its single include edition, and may be a good source of inspiration.
[email protected] is my open source email (this is in the git commits) I can't be particularly helpful for about another twelve months though (building a house, in fact, literally turned...
That's invalid input, and it did give a fairly good hint as to what's invalid about it.
You may find the ply parser docs at https://www.dabeaz.com/ply/ of use on how it works and generates the precalculated table files.
Thanks for the BR
Thanks for the BR
> Should I commit the new generated lextab.py and parsetab.py? If you wish. It'll be next Spring at least before I can look at this properly.
For me, if GCC and Wave's preprocessor use the same technique to solve a conformance problem, then it seems appropriate that pcpp can do the same. Whether the technique is...