projects
/
sbp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
checkpoint
[sbp.git]
/
tests
/
regression.tc
diff --git
a/tests/regression.tc
b/tests/regression.tc
index
9953906
..
8802d29
100644
(file)
--- a/
tests/regression.tc
+++ b/
tests/regression.tc
@@
-340,3
+340,15
@@
testcase {
s ::= [a-z] [a-z] [a-z] " "* => s
}
+
+testcase {
+
+ input "a+2";
+ output "";
+
+ s ::= Expr
+ Expr ::= [0-9]++
+ | Plus:: left:Expra "+" right:Expr
+ Expra ::= Foo:: ("a" | "b")
+
+}