src/HOL/Tools/record_package.ML
changeset 12876 a70df1e5bf10
parent 12590 3573830e9b91
child 13333 1f5745b76fb8
--- a/src/HOL/Tools/record_package.ML	Tue Feb 12 20:25:58 2002 +0100
+++ b/src/HOL/Tools/record_package.ML	Tue Feb 12 20:28:27 2002 +0100
@@ -1086,8 +1086,8 @@
 local structure P = OuterParse and K = OuterSyntax.Keyword in
 
 val record_decl =
-  P.type_args -- P.name -- (P.$$$ "=" |-- Scan.option (P.typ --| P.$$$ "+")
-    -- Scan.repeat1 (P.const --| P.marg_comment));
+  P.type_args -- P.name --
+    (P.$$$ "=" |-- Scan.option (P.typ --| P.$$$ "+") -- Scan.repeat1 P.const);
 
 val recordP =
   OuterSyntax.command "record" "define extensible record" K.thy_decl