From: Wolfgang Bumiller Date: Sat, 22 Dec 2012 15:25:19 +0000 (+0100) Subject: Fix a bug with -fperl-logic and -fcorrect-logic X-Git-Tag: 0.2~12^2~15 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=8459895fdde863f03050c721d0001bef604d95fe;p=xonotic%2Fgmqcc.git Fix a bug with -fperl-logic and -fcorrect-logic --- diff --git a/parser.c b/parser.c index d647415..f593d0e 100644 --- a/parser.c +++ b/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; } } }