src/Pure/ML/ml_thms.ML
changeset 55997 9dc5ce83202c
parent 55914 c5b752d549e3
child 56069 451d5b73f8cf
--- a/src/Pure/ML/ml_thms.ML	Sat Mar 08 13:49:01 2014 +0100
+++ b/src/Pure/ML/ml_thms.ML	Sat Mar 08 21:08:10 2014 +0100
@@ -39,10 +39,9 @@
     (Scan.depend (fn context => Parse_Spec.attribs >> (fn raw_srcs =>
       let
         val ctxt = Context.the_proof context;
-        val thy = Proof_Context.theory_of ctxt;
 
         val i = serial ();
-        val srcs = map (Attrib.intern_src thy) raw_srcs;
+        val srcs = map (Attrib.check_src ctxt) raw_srcs;
         val _ = map (Attrib.attribute ctxt) srcs;
         val (a, ctxt') = ctxt
           |> ML_Antiquote.variant "attributes" ||> put_attributes (i, srcs);