Closed schra closed 4 years ago
With the force-push I also now skip whitespaces between the macro name and the parenthesis. With this change, this PR also fixes #49
Fixed using alternative means via the new expression evaluator. But thanks for the PR.
In the following we will assume this file that contains a call to a undefined function-like macro:
Before this patch:
That is, currently all macros - including function-like macros, are evaluated to 0 if they are not defined. This is not correct.
With this patch:
GCC handles this case like this:
Clang handles this like this: