src/Pure/Isar/isar_syn.ML
changeset 17139 165c97f9bb63
parent 17107 2c35e00ee2ab
child 17142 76a5a2cc3171
equal deleted inserted replaced
17138:ad4c98fd367b 17139:165c97f9bb63
   646     (locale_val >> (Toplevel.no_timing oo IsarCmd.print_locale));
   646     (locale_val >> (Toplevel.no_timing oo IsarCmd.print_locale));
   647 
   647 
   648 val print_registrationsP =
   648 val print_registrationsP =
   649   OuterSyntax.improper_command "print_interps"
   649   OuterSyntax.improper_command "print_interps"
   650     "print interpretations of named locale" K.diag
   650     "print interpretations of named locale" K.diag
   651     (P.xname >> (Toplevel.no_timing oo IsarCmd.print_registrations));
   651     (Scan.optional (P.$$$ "!" >> K true) false -- P.xname >>
       
   652       (Toplevel.no_timing oo uncurry IsarCmd.print_registrations));
   652 
   653 
   653 val print_attributesP =
   654 val print_attributesP =
   654   OuterSyntax.improper_command "print_attributes" "print attributes of this theory" K.diag
   655   OuterSyntax.improper_command "print_attributes" "print attributes of this theory" K.diag
   655     (Scan.succeed (Toplevel.no_timing o IsarCmd.print_attributes));
   656     (Scan.succeed (Toplevel.no_timing o IsarCmd.print_attributes));
   656 
   657