projects
/
sbp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
524d11f
)
fix missing productions in demo.g and math.g
author
Adam Megacz
<adam@megacz.com>
Wed, 3 Mar 2010 00:01:50 +0000
(16:01 -0800)
committer
Adam Megacz
<adam@megacz.com>
Wed, 3 Mar 2010 00:01:50 +0000
(16:01 -0800)
tests/demo.g
patch
|
blob
|
history
tests/math.g
patch
|
blob
|
history
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
Expr = Expr ^"+" Expr /ws
| Expr ^"-" Expr /ws
@@
-7,9
+8,9
@@
Expr = Expr ^"+" Expr /ws
| ^"(" Expr ")" /ws
| ^"(" Expr ")" /ws
- | numeric:[0-9]++
+ | numeric::[0-9]++
-ws = [ \r\n]**
+ws = [ \r\n]!**
diff --git
a/tests/math.g
b/tests/math.g
index
4573929
..
487ee0d
100644
(file)
--- a/
tests/math.g
+++ b/
tests/math.g
@@
-1,3
+1,4
@@
+s = Expr [\n ]!*
Expr = Plus:: Expr "+" Expr
| Minus:: Expr "-" Expr
Expr = Plus:: Expr "+" Expr
| Minus:: Expr "-" Expr