浏览代码

fpdoc: give context of invalid short description

git-svn-id: trunk@8733 -
Vincent Snijders 18 年之前
父节点
当前提交
77ecd141e6
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      utils/fpdoc/dw_html.pp

+ 1 - 1
utils/fpdoc/dw_html.pp

@@ -1280,7 +1280,7 @@ begin
     PushOutputNode(Parent);
     try
       if not ConvertShort(AContext,TDomElement(DocNode.ShortDescr)) then
-        WriteLn(SErrInvalidShortDescr);
+        Warning(AContext, SErrInvalidShortDescr)
     finally
       PopOutputNode;
     end;