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