author | haftmann |
Wed, 10 Mar 2010 15:29:23 +0100 | |
changeset 35691 | d9c9b81b16a8 |
parent 35690 | 863bee3a9153 |
child 35694 | 553906904426 |
child 35697 | 1a49f6b3e4e7 |
child 35708 | 5e5925871d6f |
--- a/src/Pure/Isar/constdefs.ML Wed Mar 10 15:29:22 2010 +0100 +++ b/src/Pure/Isar/constdefs.ML Wed Mar 10 15:29:23 2010 +0100 @@ -22,6 +22,8 @@ fun gen_constdef prep_vars prep_prop prep_att structs (raw_decl, ((raw_name, raw_atts), raw_prop)) thy = let + val _ = legacy_feature ("\"constdefs\"; prefer \"definition\" instead"); + fun err msg ts = error (cat_lines (msg :: map (Syntax.string_of_term_global thy) ts)); val thy_ctxt = ProofContext.init thy;