report antiquotation names;
authorwenzelm
Fri, 15 Aug 2008 17:03:55 +0200
changeset 27895 e4f8763b971b
parent 27894 a06f78f917e0
child 27896 220e7a18a8ea
report antiquotation names;
src/Pure/ML/ml_context.ML
--- a/src/Pure/ML/ml_context.ML	Fri Aug 15 17:03:52 2008 +0200
+++ b/src/Pure/ML/ml_context.ML	Fri Aug 15 17:03:55 2008 +0200
@@ -106,7 +106,8 @@
   let val ((name, _), pos) = Args.dest_src src in
     (case Symtab.lookup (! global_parsers) name of
       NONE => error ("Unknown ML antiquotation command: " ^ quote name ^ Position.str_of pos)
-    | SOME scan => Args.context_syntax "ML antiquotation" (scan pos) src ctxt)
+    | SOME scan => (Position.report (Markup.ML_antiq name) pos;
+        Args.context_syntax "ML antiquotation" (scan pos) src ctxt))
   end;
 
 end;