X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;ds=sidebyside;f=tests%2Ftestcase.g;h=7245db8e82e7d779a82c3703805137b00457d9ee;hb=2a43edc3783a51c0ada2269835d833fa4ce8ab33;hp=9993dce5d0637384470d0d2fc2f7227bdc6b2238;hpb=0a0227b9180534d2a431f3d6e08a398bde2244c4;p=sbp.git diff --git a/tests/testcase.g b/tests/testcase.g index 9993dce..7245db8 100644 --- a/tests/testcase.g +++ b/tests/testcase.g @@ -1,7 +1,7 @@ ts ::= ws Ts ws => ts Ts ::= Test* ws !::= w* -Test ::= ^"testcase" "{" Input Output+ Grammar "}" +Test ::= ^"testcase" "{" Input output+ Grammar "}" | ^"testcase" "{" Input Grammar "}" -Output ::= "output" quoted ";" +output ::= "output" quoted ";" / w* Input ::= "input" quoted ";"