When gcc is called with -g3, it outputs #define lines in addition to # lines and C source code lines. pycparser's lexer does not handle #define lines at all. They would need to be stripped out like comments or handled in some similar way to make sure they are tolerated and ignored.
When gcc is called with -g3, it outputs #define lines in addition to # lines and C source code lines. pycparser's lexer does not handle #define lines at all. They would need to be stripped out like comments or handled in some similar way to make sure they are tolerated and ignored.