From fc3cc72437cc36b75ab17b8ca40dae4f488304d6 Mon Sep 17 00:00:00 2001 From: "Esteban Prince, Liam (UG - Computer Science)" <le00210@surrey.ac.uk> Date: Sat, 15 Feb 2020 19:55:59 +0000 Subject: [PATCH] Update grammar --- grammar | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/grammar b/grammar index 5d495d9..2b5ae47 100644 --- a/grammar +++ b/grammar @@ -4,7 +4,7 @@ Amount ::= Digit+ ("-" | "/" | "to")? Digit* /* Digit: */ -Digit ::= "0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" +Digit ::= ("0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9")+ /* Unit: unit of measure */ /* recognises synonyms or shorthand */ -- GitLab