compiler: restore occasionally removed check for sp_internal local symbols

git-svn-id: trunk@14633 -
This commit is contained in:
paul 2010-01-14 08:41:27 +00:00
parent 587e6142ad
commit 56259a084c

View File

@ -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