abbrev: PrintMode.input instead of PrintMode.internal for global version!
authorwenzelm
Sun, 11 Nov 2007 14:00:11 +0100
changeset 25392 bb8d225dcf05
parent 25391 783e5de2a6c7
child 25393 0856e0141062
abbrev: PrintMode.input instead of PrintMode.internal for global version!
src/Pure/Isar/theory_target.ML
--- a/src/Pure/Isar/theory_target.ML	Sun Nov 11 14:00:10 2007 +0100
+++ b/src/Pure/Isar/theory_target.ML	Sun Nov 11 14:00:11 2007 +0100
@@ -219,7 +219,7 @@
   in
     lthy |>
      (if is_locale then
-        LocalTheory.theory_result (Sign.add_abbrev PrintMode.internal pos (c, global_rhs))
+        LocalTheory.theory_result (Sign.add_abbrev PrintMode.input pos (c, global_rhs))
         #-> (fn (lhs, _) =>
           let val lhs' = Term.list_comb (Logic.unvarify lhs, xs) in
             term_syntax ta (locale_const ta prmode pos ((c, mx2), lhs')) #>