src/Pure/Isar/attrib.ML
changeset 27751 22c32eb18c23
parent 27729 aaf08262b177
child 27812 af8edf3ab68c
--- a/src/Pure/Isar/attrib.ML	Wed Aug 06 00:10:18 2008 +0200
+++ b/src/Pure/Isar/attrib.ML	Wed Aug 06 00:10:22 2008 +0200
@@ -99,7 +99,7 @@
       let val ((name, _), pos) = Args.dest_src src in
         (case Symtab.lookup attrs name of
           NONE => error ("Unknown attribute: " ^ quote name ^ Position.str_of pos)
-        | SOME ((att, _), _) => att src)
+        | SOME ((att, _), _) => (Position.report (Markup.attribute name) pos; att src))
       end;
   in attr end;