src/Pure/sign.ML
changeset 30218 cdd82ba2b4fd
parent 30146 a77fc0209723
child 30223 24d975352879
     1.1 --- a/src/Pure/sign.ML	Tue Mar 03 15:09:07 2009 +0100
     1.2 +++ b/src/Pure/sign.ML	Tue Mar 03 15:09:08 2009 +0100
     1.3 @@ -512,7 +512,7 @@
     1.4          val c = full_name thy b;
     1.5          val c_syn = if authentic then Syntax.constN ^ c else Binding.base_name b;
     1.6          val T = (prepT raw_T handle TYPE (msg, _, _) => error msg) handle ERROR msg =>
     1.7 -          cat_error msg ("in declaration of constant " ^ quote (Binding.display b));
     1.8 +          cat_error msg ("in declaration of constant " ^ quote (Binding.str_of b));
     1.9          val T' = Logic.varifyT T;
    1.10        in ((b, T'), (c_syn, T', mx), Const (c, T)) end;
    1.11      val args = map prep raw_args;
    1.12 @@ -549,7 +549,7 @@
    1.13      val pp = Syntax.pp_global thy;
    1.14      val prep_tm = no_frees pp o Term.no_dummy_patterns o cert_term_abbrev thy;
    1.15      val t = (prep_tm raw_t handle TYPE (msg, _, _) => error msg | TERM (msg, _) => error msg)
    1.16 -      handle ERROR msg => cat_error msg ("in constant abbreviation " ^ quote (Binding.display b));
    1.17 +      handle ERROR msg => cat_error msg ("in constant abbreviation " ^ quote (Binding.str_of b));
    1.18      val (res, consts') = consts_of thy
    1.19        |> Consts.abbreviate pp (tsig_of thy) (naming_of thy) mode tags (b, t);
    1.20    in (res, thy |> map_consts (K consts')) end;