mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-16 16:12:57 +02:00
codetools: referenceto: fixed endpos
git-svn-id: trunk@54637 -
This commit is contained in:
parent
9a0ddd60ef
commit
0236e179c3
@ -4659,6 +4659,7 @@ begin
|
|||||||
if (not UpAtomIs('PROCEDURE')) and (not UpAtomIs('FUNCTION')) then
|
if (not UpAtomIs('PROCEDURE')) and (not UpAtomIs('FUNCTION')) then
|
||||||
SaveRaiseStringExpectedButAtomFound('"procedure"');
|
SaveRaiseStringExpectedButAtomFound('"procedure"');
|
||||||
Result:=KeyWordFuncTypeProc;
|
Result:=KeyWordFuncTypeProc;
|
||||||
|
CurNode.EndPos:=CurPos.StartPos;
|
||||||
EndChildNode;
|
EndChildNode;
|
||||||
end else begin
|
end else begin
|
||||||
Result:=KeyWordFuncTypeDefault;
|
Result:=KeyWordFuncTypeDefault;
|
||||||
|
Loading…
Reference in New Issue
Block a user