Fix a bug with -fperl-logic and -fcorrect-logic

This commit is contained in:
Wolfgang Bumiller 2012-12-22 16:25:19 +01:00
parent b4e38a8fed
commit 8459895fdd

View file

@ -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;
}
}
}