src/HOL/Tools/primrec_package.ML
changeset 18688 abf0f018b5ec
parent 18678 dd0c569fa43d
child 18728 6790126ab5f6
--- a/src/HOL/Tools/primrec_package.ML	Sat Jan 14 17:20:51 2006 +0100
+++ b/src/HOL/Tools/primrec_package.ML	Sat Jan 14 22:25:34 2006 +0100
@@ -258,7 +258,7 @@
     val (simps', thy'') = PureThy.add_thms ((map fst eqns ~~ simps) ~~ atts) thy';
     val thy''' = thy''
       |> (snd o PureThy.add_thmss [(("simps", simps'),
-           [Simplifier.simp_add_global, RecfunCodegen.add NONE])])
+           [Attrib.theory Simplifier.simp_add, RecfunCodegen.add NONE])])
       |> (snd o PureThy.add_thms [(("induct", prepare_induct (#2 (hd dts)) rec_eqns), [])])
       |> Theory.parent_path
   in