malsyned / pfstest

Professional Firmware Services Unit Test Framework
Other
1 stars 0 forks source link

automock lexer incompatible with gcc -g3 #42

Open malsyned opened 6 years ago

malsyned commented 6 years ago

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.