]> git.xonotic.org Git - xonotic/gmqcc.git/commitdiff
*sigh*
authorWolfgang Bumiller <blub@speed.at>
Thu, 20 Dec 2012 19:57:05 +0000 (20:57 +0100)
committerWolfgang Bumiller <blub@speed.at>
Thu, 20 Dec 2012 19:57:05 +0000 (20:57 +0100)
parser.c

index 56810c3bf50413cdd9f3c0027193cd5a8c9ef696..128fa4f79c2d2210f47a1e88eb5fb95b2be97788 100644 (file)
--- a/parser.c
+++ b/parser.c
@@ -904,7 +904,7 @@ static bool parser_sy_apply_operator(parser_t *parser, shunt *sy)
                             }
                             out = (ast_expression*)ast_unary_new(ctx, type_not_instr[exprs[i]->expression.vtype], exprs[i]);
                             if (!out) break;
-                            out = (ast_expression*)ast_unary_new(ctx, NOT_F, out);
+                            out = (ast_expression*)ast_unary_new(ctx, INSTR_NOT_F, out);
                             if (!out) break;
                             exprs[i] = out; out = NULL;
                             if (OPTS_FLAG(PERL_LOGIC)) {