X-Git-Url: http://git.megacz.com/?p=sbp.git;a=blobdiff_plain;f=tests%2Fregression.tc;h=6196b489c8ec134c32c9acf84395df4f17a8f561;hp=c807a7a0041f2833fce5387e4f4bfa280ad10708;hb=107df9a4aee6ba593b64d3bbe8b2efac84596cad;hpb=6470b3188790f3461508a9f290d70c344c6fedf2 diff --git a/tests/regression.tc b/tests/regression.tc index c807a7a..6196b48 100644 --- a/tests/regression.tc +++ b/tests/regression.tc @@ -19,6 +19,22 @@ // s ::= () => s0 //} +tibcase { + input +" + hello + there + how + { are } +"; + output "yep"; + + s ::= { Hello } => "yep" + w ::= " " | "\n" + ws !::= w** + Hello ::= "hello" ws { ws "there" ws "how" ws { { "are" } ws } } +} + testcase { input "ab c"; output "1:{{a b} {c}}";