src/Pure/ML/ml_compiler.ML
changeset 62495 83db706d7771
parent 62493 dd154240a53c
child 62501 98fa1f9a292f
equal deleted inserted replaced
62494:b90109b2487c 62495:83db706d7771
   147 (* eval ML source tokens *)
   147 (* eval ML source tokens *)
   148 
   148 
   149 fun eval (flags: flags) pos toks =
   149 fun eval (flags: flags) pos toks =
   150   let
   150   let
   151     val _ = Secure.deny_ml ();
   151     val _ = Secure.deny_ml ();
   152     val space = ML_Env.name_space {SML = #SML flags, exchange = #exchange flags};
   152     val space = ML_Env.make_name_space {SML = #SML flags, exchange = #exchange flags};
   153     val opt_context = Context.thread_data ();
   153     val opt_context = Context.thread_data ();
   154 
   154 
   155 
   155 
   156     (* input *)
   156     (* input *)
   157 
   157