From: Wolfgang (Blub) Bumiller Date: Sun, 25 Nov 2012 21:38:52 +0000 (+0100) Subject: actually handle unary plus... X-Git-Tag: 0.1.9~222 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=10f49a38ca15a0aa81d97c78b83c4f6148c38550;p=xonotic%2Fgmqcc.git actually handle unary plus... --- diff --git a/parser.c b/parser.c index e8fddc9..3ea3e44 100644 --- a/parser.c +++ b/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: