X-Git-Url: https://ruin.nu/git/?a=blobdiff_plain;f=Skelsyntax.hs;h=9f3feab046e4624d3c594fad502219d14a04f1a6;hb=fd3bc0ef4542783846af4e2c4f986e94f96c74ff;hp=bc9bc0cd636ac74859db584ea12a06693837fbec;hpb=565fbd61dca527c23888e08783d0d91cee458524;p=proglang.git 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