--- trunk/src/driver/main.sml 2010/05/26 19:51:10 85 +++ trunk/src/driver/main.sml 2010/05/26 22:23:17 86 @@ -28,12 +28,14 @@ fun doFile filename = let val errStrm = Error.mkErrStream filename val inS = TextIO.openIn filename + val checkTypes = Typechecker.check errStrm in case Parser.parseFile (errStrm, inS) of NONE => (checkForErrors errStrm; quitWithError ()) | SOME pt => ( checkForErrors errStrm; - ignore (Typechecker.check pt)) + ignore (checkTypes pt); + checkForErrors errStrm) (* end case *); TextIO.closeIn inS end
Click to toggle
does not end with </html> tag
does not end with </body> tag
The output has ended thus: (checkTypes pt); + checkForErrors errStrm) (* end case *); TextIO.closeIn inS end