From 2d63bc3ee2a686560d29e1eb7b433deb45fd7619 Mon Sep 17 00:00:00 2001 From: "Arnold D. Robbins" Date: Sun, 16 Oct 2016 10:25:02 +0300 Subject: Implement unary plus for real, including for pretty printing. --- eval.c | 1 + 1 file changed, 1 insertion(+) (limited to 'eval.c') diff --git a/eval.c b/eval.c index 18517568..491d0af2 100644 --- a/eval.c +++ b/eval.c @@ -287,6 +287,7 @@ static struct optypetab { { "Op_postincrement", "++" }, { "Op_postdecrement", "--" }, { "Op_unary_minus", "-" }, + { "Op_unary_plus", "+" }, { "Op_field_spec", "$" }, { "Op_not", "! " }, { "Op_assign", " = " }, -- cgit v1.2.1