projects
/
sbp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Makefile changes
[sbp.git]
/
tests
/
regression.tc
diff --git
a/tests/regression.tc
b/tests/regression.tc
index
6196b48
..
0d4b8d4
100644
(file)
--- a/
tests/regression.tc
+++ b/
tests/regression.tc
@@
-25,14
+25,14
@@
tibcase {
hello
there
how
hello
there
how
- { are }
+ { are }
";
output "yep";
s ::= { Hello } => "yep"
w ::= " " | "\n"
ws !::= w**
";
output "yep";
s ::= { Hello } => "yep"
w ::= " " | "\n"
ws !::= w**
- Hello ::= "hello" ws { ws "there" ws "how" ws { { "are" } ws } }
+ Hello ::= "hello" ws { "there" "how" { "are" } }
}
testcase {
}
testcase {
@@
-286,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