mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-26 20:40:36 +02:00
codetools: do not end implementation at uses section
git-svn-id: trunk@39903 -
This commit is contained in:
parent
3b5868962b
commit
e119532987
@ -2454,7 +2454,6 @@ begin
|
||||
if CurPos.Flag<>cafSemicolon then
|
||||
UndoReadNextAtom;
|
||||
if ord(ScanTill)<=ord(ScannedRange) then exit;
|
||||
CurNode.EndPos:=CurPos.EndPos;
|
||||
end else
|
||||
UndoReadNextAtom;
|
||||
ScannedRange:=lsrImplementationUsesSectionEnd;
|
||||
@ -2502,7 +2501,6 @@ begin
|
||||
EndChildNode;
|
||||
CreateChildNode;
|
||||
CurNode.Desc:=ctnFinalization;
|
||||
CurNode.EndPos:=CurPos.EndPos;
|
||||
CurSection:=CurNode.Desc;
|
||||
ScannedRange:=lsrFinalizationStart;
|
||||
if ord(ScanTill)<=ord(ScannedRange) then exit;
|
||||
|
Loading…
Reference in New Issue
Block a user