src/Pure/Isar/isar_syn.ML
changeset 51585 fcd5af4aac2b
parent 51313 102a0a0718c5
child 51627 589daaf48dba
--- a/src/Pure/Isar/isar_syn.ML	Sat Mar 30 13:40:19 2013 +0100
+++ b/src/Pure/Isar/isar_syn.ML	Sat Mar 30 14:57:06 2013 +0100
@@ -781,8 +781,14 @@
       Toplevel.keep (Proof_Context.print_syntax o Toplevel.context_of)));
 
 val _ =
+  Outer_Syntax.improper_command @{command_spec "print_defn_rules"}
+    "print definitional rewrite rules of context"
+    (Scan.succeed (Toplevel.no_timing o Toplevel.unknown_context o
+      Toplevel.keep (Local_Defs.print_rules o Toplevel.context_of)));
+
+val _ =
   Outer_Syntax.improper_command @{command_spec "print_abbrevs"}
-    "print constant abbreviation of context"
+    "print constant abbreviations of context"
     (Scan.succeed (Toplevel.no_timing o Toplevel.unknown_context o
       Toplevel.keep (Proof_Context.print_abbrevs o Toplevel.context_of)));