tuned;
authorwenzelm
Fri, 31 May 2013 12:00:18 +0200
changeset 52278 39d60668f8df
parent 52277 2bbeab01c0ea
child 52279 1d37d281645d
tuned;
src/HOL/Spec_Check/spec_check.ML
--- a/src/HOL/Spec_Check/spec_check.ML	Fri May 31 11:56:48 2013 +0200
+++ b/src/HOL/Spec_Check/spec_check.ML	Fri May 31 12:00:18 2013 +0200
@@ -128,11 +128,11 @@
   let
     val return = Unsynchronized.ref "return"
     val use_context : use_context =
-     {tune_source = ML_Parse.fix_ints,
-      name_space = ML_Env.name_space,
-      str_of_pos = Position.here oo Position.line_file,
+     {tune_source = #tune_source ML_Env.local_context,
+      name_space = #name_space ML_Env.local_context,
+      str_of_pos = #str_of_pos ML_Env.local_context,
       print = fn r => return := r,
-      error = error}
+      error = #error ML_Env.local_context}
     val _ =
       Context.setmp_thread_data (SOME (Context.Proof ctxt))
         (fn () => Secure.use_text use_context (0, "generated code") true s) ()