projects
/
sbp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fix missing productions in demo.g and math.g
[sbp.git]
/
tests
/
demo.g
diff --git
a/tests/demo.g
b/tests/demo.g
index
9a2ef37
..
a85b0ba
100644
(file)
--- a/
tests/demo.g
+++ b/
tests/demo.g
@@
-1,3
+1,4
@@
+s = Expr [\n ]!*
Expr = Expr ^"+" Expr /ws
| Expr ^"-" Expr /ws
@@
-7,9
+8,9
@@
Expr = Expr ^"+" Expr /ws
| ^"(" Expr ")" /ws
- | numeric:[0-9]++
+ | numeric::[0-9]++
-ws = [ \r\n]**
+ws = [ \r\n]!**