mirror of
https://github.com/DarkPlacesEngine/gmqcc.git
synced 2025-02-25 20:51:38 +00:00
no need to check the array, the 2nd NOT is a NOT_F
This commit is contained in:
parent
8dc6696957
commit
a6547a15f3
1 changed files with 1 additions and 1 deletions
2
parser.c
2
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]);
|
out = (ast_expression*)ast_unary_new(ctx, type_not_instr[exprs[i]->expression.vtype], exprs[i]);
|
||||||
if (!out) break;
|
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;
|
if (!out) break;
|
||||||
exprs[i] = out; out = NULL;
|
exprs[i] = out; out = NULL;
|
||||||
if (OPTS_FLAG(PERL_LOGIC)) {
|
if (OPTS_FLAG(PERL_LOGIC)) {
|
||||||
|
|
Loading…
Reference in a new issue