src/Pure/Isar/specification.ML
changeset 21691 826ab43d43f5
parent 21658 5e31241e1e3c
child 21705 0f3ad56548bc
--- a/src/Pure/Isar/specification.ML	Thu Dec 07 16:47:36 2006 +0100
+++ b/src/Pure/Isar/specification.ML	Thu Dec 07 17:58:39 2006 +0100
@@ -157,7 +157,7 @@
         val mx = (case vars of [] => NoSyn | [((y, _), mx)] =>
           if x = y then mx
           else error ("Head of abbreviation " ^ quote x ^ " differs from declaration " ^ quote y));
-        val lthy2 = lthy1 |> LocalTheory.abbrevs mode [((x, mx), rhs)];
+        val lthy2 = lthy1 |> TermSyntax.abbrevs mode [((x, mx), rhs)];
       in ((x, T), LocalTheory.restore lthy2) end;
 
     val (cs, lthy') = lthy
@@ -174,7 +174,7 @@
 (* notation *)
 
 fun gen_notation prep_const mode args lthy =
-  lthy |> LocalTheory.notation mode (map (apfst (prep_const lthy)) args);
+  lthy |> TermSyntax.notation mode (map (apfst (prep_const lthy)) args);
 
 val notation = gen_notation ProofContext.read_const;
 val notation_i = gen_notation (K I);