mirror of
https://github.com/DarkPlacesEngine/gmqcc.git
synced 2025-03-22 02:31:28 +00:00
fixing comma operator
This commit is contained in:
parent
f103544c95
commit
3618d071ff
1 changed files with 3 additions and 2 deletions
5
parser.c
5
parser.c
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue