X-Git-Url: http://git.megacz.com/?p=sbp.git;a=blobdiff_plain;f=tests%2Fregression.tc;h=90dd6ee1468622b7000bbcd0329ca0965bdc1405;hp=3204e6a0fce2c53f96c9d55a4da127cee55693ac;hb=0907ad8065e0d123e46fd00d87189a2fa9f10bf4;hpb=695b95cf0b6140177098a5a2d7117aec4017e470 diff --git a/tests/regression.tc b/tests/regression.tc index 3204e6a..90dd6ee 100644 --- a/tests/regression.tc +++ b/tests/regression.tc @@ -19,19 +19,20 @@ // s ::= () => s0 //} -//tibcase { -// input " -// hello -// there -// how -// { are } -//"; -// -// s ::= ws S ws -// ws !::= w* -// S ::= { Hello } -// Hello ::= "hello" { "there" "how" { "are" } } -//} +tibcase { + input +" + hello + there + how + { are } +"; + + s ::= { Hello } + w ::= " " | "\n" + ws !::= w** + Hello ::= "hello" ws { "there" ws "how" ws { { "are" } ws } } +} testcase { input "ab c";