mirror of
https://github.com/DarkPlacesEngine/gmqcc.git
synced 2025-03-31 15:01:01 +00:00
actually handle unary plus...
This commit is contained in:
parent
089e490c69
commit
10f49a38ca
1 changed files with 3 additions and 0 deletions
3
parser.c
3
parser.c
|
@ -600,6 +600,9 @@ static bool parser_sy_pop(parser_t *parser, shunt *sy)
|
|||
vec_push(sy->out, syblock(ctx, blocks[0]));
|
||||
return true;
|
||||
|
||||
case opid2('+','P'):
|
||||
out = exprs[0];
|
||||
break;
|
||||
case opid2('-','P'):
|
||||
switch (exprs[0]->expression.vtype) {
|
||||
case TYPE_FLOAT:
|
||||
|
|
Loading…
Reference in a new issue