src/Pure/ML/ml_thms.ML
changeset 61814 1ca1142e1711
parent 59127 723b11f8ffbf
child 62876 507c90523113
--- a/src/Pure/ML/ml_thms.ML	Wed Dec 09 16:22:29 2015 +0100
+++ b/src/Pure/ML/ml_thms.ML	Wed Dec 09 16:36:26 2015 +0100
@@ -40,11 +40,11 @@
 (* attribute source *)
 
 val _ = Theory.setup
-  (ML_Antiquotation.declaration @{binding attributes} (Scan.lift Parse.attribs)
-    (fn _ => fn raw_srcs => fn ctxt =>
+  (ML_Antiquotation.declaration @{binding attributes} Attrib.attribs
+    (fn _ => fn srcs => fn ctxt =>
       let val i = serial () in
         ctxt
-        |> put_attributes (i, Attrib.check_attribs ctxt raw_srcs)
+        |> put_attributes (i, srcs)
         |> ML_Context.value_decl "attributes"
             ("ML_Thms.the_attributes ML_context " ^ string_of_int i)
       end));