equal
deleted
inserted
replaced
72 PolyML.Compiler.CPDebug debug]; |
72 PolyML.Compiler.CPDebug debug]; |
73 val _ = |
73 val _ = |
74 (while not (List.null (! in_buffer)) do |
74 (while not (List.null (! in_buffer)) do |
75 PolyML.compiler (get, parameters) ()) |
75 PolyML.compiler (get, parameters) ()) |
76 handle exn => |
76 handle exn => |
77 if Exn.is_interrupt exn then reraise exn |
77 if Exn.is_interrupt exn then Exn.reraise exn |
78 else |
78 else |
79 (put ("Exception- " ^ General.exnMessage exn ^ " raised"); |
79 (put ("Exception- " ^ General.exnMessage exn ^ " raised"); |
80 error (output ()); reraise exn); |
80 error (output ()); Exn.reraise exn); |
81 in if verbose then print (output ()) else () end; |
81 in if verbose then print (output ()) else () end; |
82 |
82 |
83 fun use_file context {verbose, debug} file = |
83 fun use_file context {verbose, debug} file = |
84 let |
84 let |
85 val instream = TextIO.openIn file; |
85 val instream = TextIO.openIn file; |