diff --git a/utils/fpdoc/dglobals.pp b/utils/fpdoc/dglobals.pp index 0cb01f8647..9cb2ff55fd 100644 --- a/utils/fpdoc/dglobals.pp +++ b/utils/fpdoc/dglobals.pp @@ -692,6 +692,8 @@ var Inc(i); NewNode := TLinkNode.Create(Copy(s, ThisSpaces + 1, i - ThisSpaces - 1), ALinkPrefix + Copy(s, i + 1, Length(s))); + if pos(' ',newnode.link)>0 then + writeln(stderr,'Bad format imported node: name="',newnode.name,'" link="',newnode.link,'"'); if Assigned(PrevSibling) then PrevSibling.FNextSibling := NewNode else