mirror of
https://github.com/DarkPlacesEngine/gmqcc.git
synced 2025-01-19 06:40:49 +00:00
Fix a bug with -fperl-logic and -fcorrect-logic
This commit is contained in:
parent
b4e38a8fed
commit
8459895fdd
1 changed files with 2 additions and 0 deletions
2
parser.c
2
parser.c
|
@ -906,6 +906,8 @@ static bool parser_sy_apply_operator(parser_t *parser, shunt *sy)
|
|||
if (!out) break;
|
||||
exprs[i] = out; out = NULL;
|
||||
if (OPTS_FLAG(PERL_LOGIC)) {
|
||||
/* here we want to keep the right expressions' type */
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue