mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-12 16:09:41 +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
|
||||
SaveRaiseStringExpectedButAtomFound('"procedure"');
|
||||
Result:=KeyWordFuncTypeProc;
|
||||
CurNode.EndPos:=CurPos.StartPos;
|
||||
EndChildNode;
|
||||
end else begin
|
||||
Result:=KeyWordFuncTypeDefault;
|
||||
|
Loading…
Reference in New Issue
Block a user