mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-18 16:49:20 +02:00
compiler: restore occasionally removed check for sp_internal local symbols
git-svn-id: trunk@14633 -
This commit is contained in:
parent
587e6142ad
commit
56259a084c
@ -615,6 +615,9 @@ implementation
|
|||||||
else if ((tsym(sym).owner.symtabletype in
|
else if ((tsym(sym).owner.symtabletype in
|
||||||
[ObjectSymtable,parasymtable,localsymtable,staticsymtable])) then
|
[ObjectSymtable,parasymtable,localsymtable,staticsymtable])) then
|
||||||
begin
|
begin
|
||||||
|
if (Errorcount<>0) or
|
||||||
|
(sp_internal in tsym(sym).symoptions) then
|
||||||
|
exit;
|
||||||
{ do not claim for inherited private fields !! }
|
{ do not claim for inherited private fields !! }
|
||||||
if (tsym(sym).refs=0) and (tsym(sym).owner.symtabletype=ObjectSymtable) then
|
if (tsym(sym).refs=0) and (tsym(sym).owner.symtabletype=ObjectSymtable) then
|
||||||
case tsym(sym).typ of
|
case tsym(sym).typ of
|
||||||
|
Loading…
Reference in New Issue
Block a user