There are many places in the our sources with such conditional preprocessor directives without parentheses, but the syntax error does not occur in all cases.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Test example:
Getting error: Syntax error in #if [preprocessorErrorDirective] in simple #if 1 directive:
It can be fixed with parentheses: #if (1)
There are many places in the our sources with such conditional preprocessor directives without parentheses, but the syntax error does not occur in all cases.
Thanks for reporting, I have created an issue here: https://github.com/danmar/simplecpp/issues/297