mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-30 05:30:45 +02:00
codetools: fixed initialize unitscopes, issue #33712
git-svn-id: trunk@57847 -
This commit is contained in:
parent
aa2b29544e
commit
014d35df8e
@ -1781,6 +1781,7 @@ begin
|
||||
RealCompilerFilename:='';
|
||||
UnitPaths:=nil;
|
||||
IncludePaths:=nil;
|
||||
UnitScopes:=nil;
|
||||
Defines:=nil;
|
||||
Undefines:=nil;
|
||||
|
||||
@ -8582,11 +8583,12 @@ procedure TPCTargetConfigCache.LoadFromXMLConfig(XMLConfig: TXMLConfig;
|
||||
end;
|
||||
end;
|
||||
|
||||
procedure LoadSemicolonList(UnitScopes: TStrings; const ASubPath: string);
|
||||
procedure LoadSemicolonList(out UnitScopes: TStrings; const ASubPath: string);
|
||||
var
|
||||
s, Scope: String;
|
||||
p: Integer;
|
||||
begin
|
||||
UnitScopes:=TStringList.Create;
|
||||
s:=XMLConfig.GetValue(Path+ASubPath,'');
|
||||
p:=1;
|
||||
while p<=length(s) do begin
|
||||
|
Loading…
Reference in New Issue
Block a user