From: Wolfgang Bumiller Date: Thu, 19 Jul 2012 15:54:35 +0000 (+0200) Subject: builtins are negative X-Git-Tag: 0.1-rc1~428 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=8471d36aabe859d9c857fe9ccf26db07e8192e58;p=xonotic%2Fgmqcc.git builtins are negative --- diff --git a/parser.c b/parser.c index 3a7d0d0..e12ff98 100644 --- a/parser.c +++ b/parser.c @@ -219,7 +219,7 @@ bool parser_do(parser_t *parser) } if (func) - func->builtin = parser_token(parser)->constval.i; + func->builtin = -parser_token(parser)->constval.i; } else if (parser->tok == '{') { /* function body */ } else {