src/Pure/Isar/isar_syn.ML
changeset 17228 19b460b39dad
parent 17219 515badbfc4d6
child 17264 c5b280a52a67
equal deleted inserted replaced
17227:398a7353ca69 17228:19b460b39dad
   641   OuterSyntax.improper_command "print_locales" "print locales of this theory" K.diag
   641   OuterSyntax.improper_command "print_locales" "print locales of this theory" K.diag
   642     (Scan.succeed (Toplevel.no_timing o IsarCmd.print_locales));
   642     (Scan.succeed (Toplevel.no_timing o IsarCmd.print_locales));
   643 
   643 
   644 val print_localeP =
   644 val print_localeP =
   645   OuterSyntax.improper_command "print_locale" "print locale expression in this theory" K.diag
   645   OuterSyntax.improper_command "print_locale" "print locale expression in this theory" K.diag
   646     (locale_val >> (Toplevel.no_timing oo IsarCmd.print_locale));
   646     (Scan.optional (P.$$$ "!" >> K true) false -- 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     (Scan.optional (P.$$$ "!" >> K true) false -- P.xname >>
   651     (Scan.optional (P.$$$ "!" >> K true) false -- P.xname >>