checkpoint
[sbp.git] / tests / regression.tc
index fbc8a4a..3204e6a 100644 (file)
 //    s ::= ()       => s0
 //}
 
+//tibcase {
+//    input "
+//  hello 
+//    there
+//    how
+//     { are }
+//";
+//
+//    s        ::= ws S ws
+//    ws      !::= w*
+//    S        ::= { Hello }
+//    Hello    ::= "hello" { "there" "how" { "are" } }
+//}
+
 testcase {
     input "ab c";
     output "1:{{a b} {c}}";
@@ -267,7 +281,7 @@ testcase {
 
 indent  !::= ww
 outdent !::= " "  outdent " "
-           | " "  [~]*    "\n"
+           | " "  ([~]*)  "\n"
 
 any      !::= [~]*
 s         ::= !any "\n\n" !ww statement !ww "\n\n" !any => smt