restored SML code check which got unintentionally broken: must explicitly check for error during compilation;
restore more conventional namespace during check (relevant for Imperative-HOL)
--- a/src/Tools/Code/code_ml.ML Tue Nov 06 19:18:35 2012 +0100
+++ b/src/Tools/Code/code_ml.ML Wed Nov 07 20:48:04 2012 +0100
@@ -832,7 +832,8 @@
(target_SML, { serializer = serializer_sml, literals = literals_sml,
check = { env_var = "ISABELLE_PROCESS",
make_destination = fn p => Path.append p (Path.explode "ROOT.ML"),
- make_command = fn _ => "\"$ISABELLE_PROCESS\" -r -q -u Pure" } })
+ make_command = fn _ =>
+ "\"$ISABELLE_PROCESS\" -r -q -e 'datatype ref = datatype Unsynchronized.ref; use \"ROOT.ML\" handle _ => Posix.Process.exit 0w1' Pure" } })
#> Code_Target.add_target
(target_OCaml, { serializer = serializer_ocaml, literals = literals_ocaml,
check = { env_var = "ISABELLE_OCAML",