src/Pure/sign.ML
changeset 42360 da8817d01e7c
parent 42359 6ca5407863ed
child 42375 774df7c59508
     1.1 --- a/src/Pure/sign.ML	Sat Apr 16 15:25:25 2011 +0200
     1.2 +++ b/src/Pure/sign.ML	Sat Apr 16 15:47:52 2011 +0200
     1.3 @@ -350,7 +350,7 @@
     1.4  
     1.5  fun gen_syntax change_gram parse_typ mode args thy =
     1.6    let
     1.7 -    val ctxt = ProofContext.init_global thy;
     1.8 +    val ctxt = Proof_Context.init_global thy;
     1.9      fun prep (c, T, mx) = (c, certify_typ_mode Type.mode_syntax thy (parse_typ ctxt T), mx)
    1.10        handle ERROR msg => cat_error msg ("in syntax declaration " ^ quote c);
    1.11    in thy |> map_syn (change_gram (is_logtype thy) mode (map prep args)) end;
    1.12 @@ -387,7 +387,7 @@
    1.13  
    1.14  fun gen_add_consts parse_typ raw_args thy =
    1.15    let
    1.16 -    val ctxt = ProofContext.init_global thy;
    1.17 +    val ctxt = Proof_Context.init_global thy;
    1.18      val prepT = Type.no_tvars o Term.no_dummyT o certify_typ thy o parse_typ ctxt;
    1.19      fun prep (b, raw_T, mx) =
    1.20        let