checkpoint
[sbp.git] / tests / regression.tc
index 6196b48..ce43a84 100644 (file)
@@ -32,7 +32,7 @@ tibcase {
     s        ::= { Hello } => "yep"
     w        ::= " " | "\n"
     ws      !::= w**
-    Hello    ::= "hello" ws { ws "there" ws "how" ws { { "are" } ws } }
+    Hello    ::= "hello" ws { "there" "how" { { "are" } } }
 }
 
 testcase {
@@ -286,12 +286,12 @@ outdent !::= " "  outdent " "
            | " "  ([~]*)  "\n"
 
 any      !::= [~]*
-s         ::= !any "\n\n" !ww statement !ww "\n\n" !any => smt
-ww        ::= sp*
+s         ::= any "\n\n" ww statement ww "\n\n" any => smt
+ww       !::= sp*
 ws       !::= sp**
 sp        ::= " "
 
-block     ::= "\n" !indent  blockBody
+block     ::= "\n" indent  blockBody
            &~ "\n" outdent [~\ ] [~]*
 
 blockBody ::= statement