X-Git-Url: https://ruin.nu/git/?p=proglang.git;a=blobdiff_plain;f=Skelsyntax.hs;h=9f3feab046e4624d3c594fad502219d14a04f1a6;hp=bc9bc0cd636ac74859db584ea12a06693837fbec;hb=d553df8dfdffca78342d6fae142ceded9cd64415;hpb=565fbd61dca527c23888e08783d0d91cee458524 diff --git a/Skelsyntax.hs b/Skelsyntax.hs index bc9bc0c..9f3feab 100644 --- a/Skelsyntax.hs +++ b/Skelsyntax.hs @@ -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