From f3bcb3de0e4bf9eb3e771857917e19aa271b4c30 Mon Sep 17 00:00:00 2001 From: Adela Vais Date: Tue, 1 Sep 2020 21:54:34 +0300 Subject: examples: d: fix the handling of unary + It was interpreting "+exp" as "-exp". * examples/d/calc.y: Fix. * examples/d/calc.test: Check it. --- examples/d/calc.test | 10 ++++++++++ examples/d/calc.y | 2 +- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/examples/d/calc.test b/examples/d/calc.test index cf4f80a8..6b237592 100644 --- a/examples/d/calc.test +++ b/examples/d/calc.test @@ -20,6 +20,16 @@ cat >input <input <input <input <