X-Git-Url: http://git.megacz.com/?p=sbp.git;a=blobdiff_plain;f=tests%2Fregression.tc;h=a2492864eb53bd14065ef9d8fd4f6c00e09eff40;hp=c2206eecd9762327bd76ed8aa212579a9f877ebd;hb=72cc02d0f08922a98b9f2139e814b6c33b275a43;hpb=f169adc2b98fc4034d67bab4dd2938fb2f15e5c4 diff --git a/tests/regression.tc b/tests/regression.tc index c2206ee..a249286 100644 --- a/tests/regression.tc +++ b/tests/regression.tc @@ -263,6 +263,15 @@ testcase { idl ::= [a-d] } +testcase { + input "aa bb"; + output "{q:{{a a}} q:{{b b}}}"; + + s ::= q */ ws + ws ::= " "* + q ::= [a-z]++ => "q" +} + //testcase { // // input " @@ -319,12 +328,3 @@ testcase { // // //} - -testcase { - input "aa bb"; - output "{q:{{a a}} q:{{b b}}}"; - - s ::= q */ ws - ws ::= " "* - q ::= [a-z]++ => "q" -} \ No newline at end of file