src/Pure/Isar/isar_syn.ML
changeset 21951 56abe5f3c612
parent 21843 2015be1b6a03
child 21956 2cbee05b18a1
     1.1 --- a/src/Pure/Isar/isar_syn.ML	Fri Dec 29 19:50:52 2006 +0100
     1.2 +++ b/src/Pure/Isar/isar_syn.ML	Fri Dec 29 20:34:17 2006 +0100
     1.3 @@ -88,7 +88,7 @@
     1.4    OuterSyntax.command "axclass" "define axiomatic type class" K.thy_decl
     1.5      (P.name -- Scan.optional ((P.$$$ "\\<subseteq>" || P.$$$ "<") |--
     1.6          P.!!! (P.list1 P.xname)) []
     1.7 -        -- Scan.optional (P.$$$ "attach" |-- Scan.repeat P.term) []
     1.8 +        -- Scan.optional (P.$$$ "(" |-- P.$$$ "attach" |-- Scan.repeat P.term --| P.$$$ ")") []
     1.9          -- Scan.repeat (P.thm_name ":" -- (P.prop >> single))
    1.10        >> (fn ((x, y), z) => Toplevel.theory (snd o AxClass.define_class x y z)));
    1.11