From: Wolfgang Bumiller Date: Thu, 20 Dec 2012 19:56:49 +0000 (+0100) Subject: no need to check the array, the 2nd NOT is a NOT_F X-Git-Tag: 0.2~39 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=a6547a15f3b418c5a2ea88bc9ab6bb5a6c971a19;p=xonotic%2Fgmqcc.git no need to check the array, the 2nd NOT is a NOT_F --- diff --git a/parser.c b/parser.c index f7bcad1..56810c3 100644 --- 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, type_not_instr[exprs[i]->expression.vtype], out); + out = (ast_expression*)ast_unary_new(ctx, NOT_F, out); if (!out) break; exprs[i] = out; out = NULL; if (OPTS_FLAG(PERL_LOGIC)) {