From: Wolfgang (Blub) Bumiller Date: Fri, 16 Nov 2012 19:04:30 +0000 (+0100) Subject: Update #if description comment X-Git-Tag: 0.1.9~404^2~49 X-Git-Url: http://de.git.xonotic.org/?a=commitdiff_plain;h=34646cfca7876cbf23c5789ca040efb8441e2d27;p=xonotic%2Fgmqcc.git Update #if description comment --- 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