src/Pure/Isar/locale.ML
changeset 26435 bdce320cd426
parent 26345 f70620a4cf81
child 26463 9283b4185fdf
--- a/src/Pure/Isar/locale.ML	Thu Mar 27 15:32:12 2008 +0100
+++ b/src/Pure/Isar/locale.ML	Thu Mar 27 15:32:15 2008 +0100
@@ -2000,7 +2000,7 @@
 
 end;
 
-val _ = Context.add_setup
+val _ = Context.>>
  (add_locale_i (SOME "") "var" empty [Fixes [(Name.internal "x", NONE, NoSyn)]] #>
   snd #> ProofContext.theory_of #>
   add_locale_i (SOME "") "struct" empty [Fixes [(Name.internal "S", NONE, Structure)]] #>
@@ -2041,7 +2041,7 @@
     Method.intros_tac (wits @ intros) facts st
   end;
 
-val _ = Context.add_setup (Method.add_methods
+val _ = Context.>> (Method.add_methods
   [("intro_locales",
     Method.ctxt_args (fn ctxt => Method.METHOD (intro_locales_tac false ctxt)),
     "back-chain introduction rules of locales without unfolding predicates"),