diff --git a/ftepp.c b/ftepp.c index a240643..32312ba 100644 --- a/ftepp.c +++ b/ftepp.c @@ -185,12 +185,13 @@ static bool ftepp_define(ftepp_t *ftepp) * defined(FOO) => true if FOO was #defined regardless of parameters or contents * => True if the number is not 0 * ! => True if the factor yields false + * !! => ERROR on 2 or more unary nots * => becomes the macro's FIRST token regardless of parameters * && => True if both expressions are true * || => True if either expression is true * => False * => False (remember for macros the rule applies instead) - * Unary + and - are skipped + * Unary + and - are weird and wrong in fteqcc so we don't allow them * parenthesis in expressions are allowed * parameter lists on macros are errors * No mathematical calculations are executed