mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-27 04:33:54 +02:00
codetools: fixed reusing scanrange of implementation uses section
git-svn-id: trunk@38523 -
This commit is contained in:
parent
d55829b176
commit
04176d39b8
@ -5109,9 +5109,9 @@ begin
|
||||
ScanRange:=lsrImplementationStart
|
||||
else if Node.Desc=ctnUsesSection then begin
|
||||
if Node.Parent.Desc=ctnImplementation then
|
||||
ScanRange:=lsrImplementationStart
|
||||
ScanRange:=lsrImplementationUsesSectionStart
|
||||
else
|
||||
ScanRange:=lsrInterfaceStart;
|
||||
ScanRange:=lsrMainUsesSectionStart;
|
||||
end else if Node.Desc=ctnImplementation then
|
||||
ScanRange:=lsrInitializationStart
|
||||
else if Node.Desc=ctnInitialization then
|
||||
|
Loading…
Reference in New Issue
Block a user