X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=tests%2Fregression.tc;h=9953906553fa18f5ef68c9e6ed96c81c961ffc98;hb=d824fe4034e79260f1f065d1040a39571897cd95;hp=97455eb17e41b632a0a43fa225933b66f58a7165;hpb=2633ae37e220233b3bb8a71632e37a3070be6e97;p=sbp.git diff --git a/tests/regression.tc b/tests/regression.tc index 97455eb..9953906 100644 --- a/tests/regression.tc +++ b/tests/regression.tc @@ -60,8 +60,8 @@ testcase { input "aaabbbbccc"; s ::= ab & dc - ab !::= a b => ab - dc !::= d c => dc + ab ::= a b => ab + dc ::= d c => dc a ::= "a" a | () b ::= "b" b "c" | () c ::= "c" c | () @@ -70,9 +70,9 @@ testcase { testcase { input "aabb"; - output "xbx:{abab:{a b}}"; + output "xbx:{{a} abab:{a b} {b}}"; - x !::= ~[] + x ::= ~[] s ::= x* b x* => xbx b ::= [ab][ab] => abab &~ ( "aa" | "bb" )