diff options
Diffstat (limited to '')
-rw-r--r-- | calc-example/calc.syntax | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/calc-example/calc.syntax b/calc-example/calc.syntax index ef7a9f4..286019b 100644 --- a/calc-example/calc.syntax +++ b/calc-example/calc.syntax @@ -2,7 +2,7 @@ _WHITESPACE = " " | "\t" | " "; _ = {_WHITESPACE}; -DIGIT = "0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9"; +DIGIT = <"0", "9">; ADD = _, ("+"), _; SUB = _, ("-" | "−"), _; |