]> ruin.nu Git - proglang.git/blobdiff - Skelsyntax.hs
added constructor for declaration with default value
[proglang.git] / Skelsyntax.hs
index bc9bc0cd636ac74859db584ea12a06693837fbec..9f3feab046e4624d3c594fad502219d14a04f1a6 100644 (file)
@@ -35,11 +35,12 @@ transStm :: Stm -> Result
 transStm x = case x of
   SExp exp  -> failure x
   SBlock stms  -> failure x
+  SDecl type' id exp  -> failure x
+  SDeclD type' id  -> failure x
   SWhile exp stm  -> failure x
   SIf exp stm0 stm  -> failure x
   SPrint exp  -> failure x
   SNoop  -> failure x
-  SDecl type' id exp  -> failure x
 
 
 transExp :: Exp -> Result