fixing comma operator

This commit is contained in:
Wolfgang Bumiller 2012-07-27 13:42:02 +02:00
parent f103544c95
commit 3618d071ff

View file

@ -316,8 +316,9 @@ static bool parser_sy_pop(parser_t *parser, shunt *sy)
}
if (!ast_block_set_type(blocks[0], exprs[1]))
return false;
out = blocks[0];
break;
sy->out[sy->out_count++] = syblock(ctx, blocks[0]);
return true;
case opid1('+'):
if (exprs[0]->expression.vtype != exprs[1]->expression.vtype) {