src/Pure/ML/ml_parse.ML
changeset 30672 beaadd5af500
parent 30636 bd8813d7774d
child 30682 dcb233670c98
--- a/src/Pure/ML/ml_parse.ML	Mon Mar 23 21:40:11 2009 +0100
+++ b/src/Pure/ML/ml_parse.ML	Mon Mar 23 21:40:11 2009 +0100
@@ -7,6 +7,7 @@
 signature ML_PARSE =
 sig
   val fix_ints: string -> string
+  val global_context: use_context
 end;
 
 structure ML_Parse: ML_PARSE =
@@ -62,4 +63,14 @@
 
 val fix_ints = if ml_system_fix_ints then do_fix_ints else I;
 
+
+(* global use_context *)
+
+val global_context: use_context =
+ {tune_source = fix_ints,
+  name_space = ML_Name_Space.global,
+  str_of_pos = Position.str_of oo Position.line_file,
+  print = writeln,
+  error = error};
+
 end;