mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-09-21 09:49:28 +02:00
* don't add empty symtables when specializing generics
git-svn-id: trunk@8066 -
This commit is contained in:
parent
a05d228679
commit
2b2c6f7f53
@ -1810,8 +1810,10 @@ implementation
|
|||||||
symtablestack.push(pu.u.globalsymtable);
|
symtablestack.push(pu.u.globalsymtable);
|
||||||
pu:=tused_unit(pu.next);
|
pu:=tused_unit(pu.next);
|
||||||
end;
|
end;
|
||||||
symtablestack.push(hmodule.globalsymtable);
|
if assigned(hmodule.globalsymtable) then
|
||||||
symtablestack.push(hmodule.localsymtable);
|
symtablestack.push(hmodule.globalsymtable);
|
||||||
|
if assigned(hmodule.localsymtable) then
|
||||||
|
symtablestack.push(hmodule.localsymtable);
|
||||||
|
|
||||||
{ definitions }
|
{ definitions }
|
||||||
for i:=0 to tobjectdef(ttypesym(p).typedef).symtable.DefList.Count-1 do
|
for i:=0 to tobjectdef(ttypesym(p).typedef).symtable.DefList.Count-1 do
|
||||||
|
Loading…
Reference in New Issue
Block a user