src/Pure/ML/ml_context.ML
changeset 62969 9f394a16c557
parent 62931 09b516854210
child 63671 eb4f59275c05
equal deleted inserted replaced
62968:4e4738698db4 62969:9f394a16c557
    94 (* parsing and evaluation *)
    94 (* parsing and evaluation *)
    95 
    95 
    96 local
    96 local
    97 
    97 
    98 val antiq =
    98 val antiq =
    99   Parse.!!! ((Parse.token Parse.xname ::: Parse.args) --| Scan.ahead Parse.eof);
    99   Parse.!!! ((Parse.token Parse.name ::: Parse.args) --| Scan.ahead Parse.eof);
   100 
   100 
   101 fun make_env name visible =
   101 fun make_env name visible =
   102   (ML_Lex.tokenize
   102   (ML_Lex.tokenize
   103     ("structure " ^ name ^ " =\nstruct\n\
   103     ("structure " ^ name ^ " =\nstruct\n\
   104      \val ML_context = Context_Position.set_visible " ^ Bool.toString visible ^
   104      \val ML_context = Context_Position.set_visible " ^ Bool.toString visible ^