eliben / pycparser

:snake: Complete C99 parser in pure Python
Other
3.26k stars 612 forks source link

pycparser.plyparser.ParseError when running the example code on .h #544

Open rthelionheart24 opened 5 months ago

rthelionheart24 commented 5 months ago

I cloned the entire repo and attempted running examples/c-to-c.py on examples/c_files/memmgr.h without changing anything. I was prompted with the following error. I am on MacOS and the command I ran is python3 c-to-c.py c_files/memmgr.h inside examples/. What I am doing incorrectly here?

image