diff options
author | Mattias Andrée <maandree@kth.se> | 2021-04-19 11:31:42 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@kth.se> | 2021-04-19 11:31:42 +0200 |
commit | 753a7386409c0ed2b3eb6f1567d24ff78e22b1fe (patch) | |
tree | 6050f4937c61671f196df6a6b2353bea25b2a6a7 /calc-example/calc.syntax | |
parent | Add rejection + fix documentation of comment syntax (can contain string) (diff) | |
download | libparser-753a7386409c0ed2b3eb6f1567d24ff78e22b1fe.tar.gz libparser-753a7386409c0ed2b3eb6f1567d24ff78e22b1fe.tar.bz2 libparser-753a7386409c0ed2b3eb6f1567d24ff78e22b1fe.tar.xz |
m
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'calc-example/calc.syntax')
-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 8051f57..27c47a1 100644 --- a/calc-example/calc.syntax +++ b/calc-example/calc.syntax @@ -1,5 +1,5 @@ _WHITESPACE = " " | "\t" | " "; -_COMMENT = "(*", {!"*)", <0, 0xFF>}, "*)"; +_COMMENT = "(*", {!"*)", <0, 0xFF>}, ("*)" | -); _ = {_WHITESPACE | _COMMENT}; |