From 6e1d83c8a8d6f6af81ad948c9312d8964043284e Mon Sep 17 00:00:00 2001 From: Adela Vais Date: Thu, 3 Sep 2020 08:42:06 +0200 Subject: [PATCH] examples: d: demonstrate location tracking * examples/d/calc/calc.y: Track locations. * examples/d/calc/calc.test: Check locations. --- examples/d/README.md | 2 +- examples/d/calc/calc.test | 17 +++++++++++++++- examples/d/calc/calc.y | 51 +++++++++++++++++++++++++++++++++++++++-------- 3 files changed, 60 insertions(+), 10 deletions(-) diff --git a/examples/d/README.md b/examples/d/README.md index 86cb10a8..eed3494c 100644 --- a/examples/d/README.md +++ b/examples/d/README.md @@ -9,7 +9,7 @@ afterwards. The usual calculator. ## d/calc.y -A richer implementation of the calculator. +A richer implementation of the calculator, with location tracking.