codetools: do not end implementation at uses section

git-svn-id: trunk@39903 -
This commit is contained in:
mattias 2013-01-19 22:52:19 +00:00
parent 3b5868962b
commit e119532987

View File

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