mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-13 12:39:09 +02:00
fcl-passrc: fixed ref count parsing package unit, bug #31872, patch from Andrey Zubarev
git-svn-id: trunk@36248 -
This commit is contained in:
parent
afe2ddc388
commit
aa6529f617
@ -2601,6 +2601,7 @@ begin
|
|||||||
begin
|
begin
|
||||||
Module.PackageName := Engine.Package.Name;
|
Module.PackageName := Engine.Package.Name;
|
||||||
Engine.Package.Modules.Add(Module);
|
Engine.Package.Modules.Add(Module);
|
||||||
|
Module.AddRef;
|
||||||
end;
|
end;
|
||||||
CheckHint(Module,True);
|
CheckHint(Module,True);
|
||||||
// ExpectToken(tkSemicolon);
|
// ExpectToken(tkSemicolon);
|
||||||
|
Loading…
Reference in New Issue
Block a user