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
90dd6ee
..
9a7ef50
100644
(file)
--- a/
tests/regression.tc
+++ b/
tests/regression.tc
@@
-27,11
+27,12
@@
tibcase {
how
{ are }
";
how
{ are }
";
+ output "yep";
- s ::= { Hello }
+ s ::= { Hello } => "yep"
w ::= " " | "\n"
ws !::= w**
w ::= " " | "\n"
ws !::= w**
- Hello ::= "hello" ws { "there" ws "how" ws { { "are" } ws } }
+ Hello ::= "hello" ws { ws "there" ws "how" ws { { "are" } ws } }
}
testcase {
}
testcase {
@@
-285,12
+286,12
@@
outdent !::= " " outdent " "
| " " ([~]*) "\n"
any !::= [~]*
| " " ([~]*) "\n"
any !::= [~]*
-s ::= !any "\n\n" !ww statement !ww "\n\n" !any => smt
-ww ::= sp*
+s ::= any "\n\n" ww statement ww "\n\n" any => smt
+ww !::= sp*
ws !::= sp**
sp ::= " "
ws !::= sp**
sp ::= " "
-block ::= "\n" !indent blockBody
+block ::= "\n" indent blockBody
&~ "\n" outdent [~\ ] [~]*
blockBody ::= statement
&~ "\n" outdent [~\ ] [~]*
blockBody ::= statement