tentative checkpoint
[sbp.git] / tests / regression.tc
index 1c47dc4..025f56e 100644 (file)
@@ -390,26 +390,3 @@ testcase {
     x   = [123]
 }
 
-testcase {
-    input "if (bar!) baz!;";
-    output "IfThen:{id:{x:{b x:{a r}}} id:{x:{b x:{a z}}}}";
-
-    s             = Expr ";"
-    Expr          = IfThen
-                  | IfThenElse
-                  | id:: id "!"
-    id = [a-z] | x:: [a-z] id
-    IfThen        = IfThen::
-                       "if" "(" Expr ")"
-                       Expr
-                           /ws
-    IfThenElse    = IfThenElse::
-                       "if" "(" Expr ")"
-                       NotIfThenExpr
-                       "else"
-                       Expr
-                           /ws
-    NotIfThenExpr = (Expr & [a-z]+)
-    SpaceIfThen   = (~[])*// !IfThen
-    ws            = [\n ]**
-}
\ No newline at end of file