X-Git-Url: http://git.megacz.com/?p=sbp.git;a=blobdiff_plain;f=tests%2Fregression.tc;h=ce43a849d6efb8280361e4786bf4494d7e5cc234;hp=6196b489c8ec134c32c9acf84395df4f17a8f561;hb=6bee7f519f499a92a92a459fd2c903d85de0759c;hpb=107df9a4aee6ba593b64d3bbe8b2efac84596cad diff --git a/tests/regression.tc b/tests/regression.tc index 6196b48..ce43a84 100644 --- a/tests/regression.tc +++ b/tests/regression.tc @@ -32,7 +32,7 @@ tibcase { s ::= { Hello } => "yep" w ::= " " | "\n" ws !::= w** - Hello ::= "hello" ws { ws "there" ws "how" ws { { "are" } ws } } + Hello ::= "hello" ws { "there" "how" { { "are" } } } } testcase { @@ -286,12 +286,12 @@ outdent !::= " " outdent " " | " " ([~]*) "\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 ::= " " -block ::= "\n" !indent blockBody +block ::= "\n" indent blockBody &~ "\n" outdent [~\ ] [~]* blockBody ::= statement