src/Pure/Isar/attrib.ML
changeset 58928 23d0ffd48006
parent 58903 38c72f5f6c2e
child 58978 e42da880c61e
--- a/src/Pure/Isar/attrib.ML	Fri Nov 07 16:22:25 2014 +0100
+++ b/src/Pure/Isar/attrib.ML	Fri Nov 07 16:36:55 2014 +0100
@@ -288,8 +288,8 @@
 
 fun read_attribs ctxt source =
   let
+    val keywords = Thy_Header.get_keywords' ctxt;
     val syms = Symbol_Pos.source_explode source;
-    val keywords = Keyword.get_keywords ();
   in
     (case Token.read_no_commands keywords Parse.attribs syms of
       [raw_srcs] => check_attribs ctxt raw_srcs