pcpp icon indicating copy to clipboard operation
pcpp copied to clipboard

A C99 preprocessor written in pure Python

Results 26 pcpp issues
Sort by recently updated
recently updated
newest added

- Amended ignore file - Added tox.ini to test an array of Python versions - .python-version file (used by pyenv) to enable concurrent availability of Python installations Hope you find...

I met a RecursionError when running this project on `pcre2` ``` git clone https://github.com/PCRE2Project/pcre2 pcre pcpp ./pcre/src/pcre2_context.c -I ./pcre/ -I /usr/include ``` An fatal error occurs: ```py *** EXPAND MACROS...

bug

How can only the #if and #else be evaluated and pre-processed and avoid macro expansion of any available macros in the code? Tried overiridng with few PreprocessorHooks but unsuccessful. Would...

help wanted

I tried with 4 files as below: Folder structure: ``` C:\MISC\PCPP.TEST a.c h1.h h2.h h3.h ``` (a.c) ``` #include "h1.h" #include "h2.h" #ifdef H3 #include "h3.h" #endif void main() {...

enhancement

When a file is included by another (parent) file, and has `#include "name.h"`, the first place to look for name.h is in the directory containing the parent file. `pcpp` does...