* throw warning when there is a space in the XCT imported link.

git-svn-id: trunk@24089 -
This commit is contained in:
marco 2013-03-31 13:05:36 +00:00
parent 7ad6c5028e
commit ad455d05b1

View File

@ -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