From 10f49a38ca15a0aa81d97c78b83c4f6148c38550 Mon Sep 17 00:00:00 2001 From: "Wolfgang (Blub) Bumiller" Date: Sun, 25 Nov 2012 22:38:52 +0100 Subject: [PATCH] actually handle unary plus... --- parser.c | 3 +++ 1 file changed, 3 insertions(+) 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: -- 2.39.2