mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-21 01:29:29 +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
|
||||
[ObjectSymtable,parasymtable,localsymtable,staticsymtable])) then
|
||||
begin
|
||||
if (Errorcount<>0) or
|
||||
(sp_internal in tsym(sym).symoptions) then
|
||||
exit;
|
||||
{ do not claim for inherited private fields !! }
|
||||
if (tsym(sym).refs=0) and (tsym(sym).owner.symtabletype=ObjectSymtable) then
|
||||
case tsym(sym).typ of
|
||||
|
Loading…
Reference in New Issue
Block a user