report doc_source;
authorwenzelm
Thu, 14 Aug 2008 20:13:41 +0200
changeset 27876 4b79407825da
parent 27875 1b46d9ec3788
child 27877 af9f0adbab1f
report doc_source;
src/Pure/Isar/isar_cmd.ML
--- a/src/Pure/Isar/isar_cmd.ML	Thu Aug 14 20:13:40 2008 +0200
+++ b/src/Pure/Isar/isar_cmd.ML	Thu Aug 14 20:13:41 2008 +0200
@@ -534,8 +534,9 @@
 
 (* markup commands *)
 
-fun check_text txt opt_node =
-  ignore (ThyOutput.eval_antiquote (#1 (OuterKeyword.get_lexicons ())) opt_node txt);
+fun check_text (txt, pos) opt_node =
+ (Position.report Markup.doc_source pos;
+  ignore (ThyOutput.eval_antiquote (#1 (OuterKeyword.get_lexicons ())) opt_node (txt, pos)));
 
 fun header_markup txt = Toplevel.keep (fn state =>
   if Toplevel.is_toplevel state then check_text txt NONE