]> git.xonotic.org Git - xonotic/gmqcc.git/commitdiff
Update #if description comment
authorWolfgang (Blub) Bumiller <blub@speed.at>
Fri, 16 Nov 2012 19:04:30 +0000 (20:04 +0100)
committerWolfgang (Blub) Bumiller <blub@speed.at>
Fri, 16 Nov 2012 19:04:30 +0000 (20:04 +0100)
ftepp.c

diff --git a/ftepp.c b/ftepp.c
index a240643046e0827c2a42a1b98820cae6e7730ce8..32312ba0aada8032980478082589b16b04e53668 100644 (file)
--- 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
  *    <numbers>    => True if the number is not 0
  *    !<factor>    => True if the factor yields false
+ *    !!<factor>   => ERROR on 2 or more unary nots
  *    <macro>      => becomes the macro's FIRST token regardless of parameters
  *    <e> && <e>   => True if both expressions are true
  *    <e> || <e>   => True if either expression is true
  *    <string>     => False
  *    <ident>      => False (remember for macros the <macro> 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