src/Pure/ML/ml_compiler_polyml.ML
changeset 60730 02c2860fcf30
parent 60610 f52b4b0c10c4
child 60731 4ac4b314d93c
equal deleted inserted replaced
60729:f5989a2c1f67 60730:02c2860fcf30
   181       PolyML.Compiler.CPLineNo (the_default 0 o Position.line_of o get_pos),
   181       PolyML.Compiler.CPLineNo (the_default 0 o Position.line_of o get_pos),
   182       PolyML.Compiler.CPLineOffset (the_default 0 o Position.offset_of o get_pos),
   182       PolyML.Compiler.CPLineOffset (the_default 0 o Position.offset_of o get_pos),
   183       PolyML.Compiler.CPFileName location_props,
   183       PolyML.Compiler.CPFileName location_props,
   184       PolyML.Compiler.CPPrintDepth ML_Options.get_print_depth,
   184       PolyML.Compiler.CPPrintDepth ML_Options.get_print_depth,
   185       PolyML.Compiler.CPCompilerResultFun result_fun,
   185       PolyML.Compiler.CPCompilerResultFun result_fun,
   186       PolyML.Compiler.CPPrintInAlphabeticalOrder false];
   186       PolyML.Compiler.CPPrintInAlphabeticalOrder false] @
       
   187      ml_debugger_parameters (ML_Options.debugger_enabled opt_context);
   187     val _ =
   188     val _ =
   188       (while not (List.null (! input_buffer)) do
   189       (while not (List.null (! input_buffer)) do
   189         PolyML.compiler (get, parameters) ())
   190         PolyML.compiler (get, parameters) ())
   190       handle exn =>
   191       handle exn =>
   191         if Exn.is_interrupt exn then reraise exn
   192         if Exn.is_interrupt exn then reraise exn