mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-16 13:19:12 +02:00
* throw warning when there is a space in the XCT imported link.
git-svn-id: trunk@24089 -
This commit is contained in:
parent
7ad6c5028e
commit
ad455d05b1
@ -692,6 +692,8 @@ var
|
|||||||
Inc(i);
|
Inc(i);
|
||||||
NewNode := TLinkNode.Create(Copy(s, ThisSpaces + 1, i - ThisSpaces - 1),
|
NewNode := TLinkNode.Create(Copy(s, ThisSpaces + 1, i - ThisSpaces - 1),
|
||||||
ALinkPrefix + Copy(s, i + 1, Length(s)));
|
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
|
if Assigned(PrevSibling) then
|
||||||
PrevSibling.FNextSibling := NewNode
|
PrevSibling.FNextSibling := NewNode
|
||||||
else
|
else
|
||||||
|
Loading…
Reference in New Issue
Block a user