|
@@ -1159,7 +1159,7 @@ implementation
|
|
|
begin
|
|
|
static_name:=lower(sym.owner.name^)+'_'+sym.name;
|
|
|
searchsym(static_name,sym,srsymtable);
|
|
|
- check_hints(sym);
|
|
|
+ check_hints(sym,sym.symoptions);
|
|
|
p1.free;
|
|
|
p1:=cloadnode.create(sym,srsymtable);
|
|
|
end
|
|
@@ -1259,7 +1259,7 @@ implementation
|
|
|
begin
|
|
|
static_name:=lower(srsym.owner.name^)+'_'+srsym.name;
|
|
|
searchsym(static_name,srsym,srsymtable);
|
|
|
- check_hints(srsym);
|
|
|
+ check_hints(srsym,srsym.symoptions);
|
|
|
end
|
|
|
else
|
|
|
begin
|
|
@@ -1333,7 +1333,7 @@ implementation
|
|
|
p1:=ctypenode.create(htype);
|
|
|
{ search also in inherited methods }
|
|
|
srsym:=searchsym_in_class(tobjectdef(htype.def),pattern);
|
|
|
- check_hints(srsym);
|
|
|
+ check_hints(srsym,srsym.symoptions);
|
|
|
consume(_ID);
|
|
|
do_member_read(tobjectdef(htype.def),false,srsym,p1,again,[]);
|
|
|
end
|
|
@@ -1351,7 +1351,7 @@ implementation
|
|
|
{ TP allows also @TMenu.Load if Load is only }
|
|
|
{ defined in an anchestor class }
|
|
|
srsym:=search_class_member(tobjectdef(htype.def),pattern);
|
|
|
- check_hints(srsym);
|
|
|
+ check_hints(srsym,srsym.symoptions);
|
|
|
if not assigned(srsym) then
|
|
|
Message1(sym_e_id_no_member,orgpattern)
|
|
|
else if not(getaddr) and not(sp_static in srsym.symoptions) then
|
|
@@ -1377,7 +1377,7 @@ implementation
|
|
|
{ TP allows also @TMenu.Load if Load is only }
|
|
|
{ defined in an anchestor class }
|
|
|
srsym:=search_class_member(tobjectdef(htype.def),pattern);
|
|
|
- check_hints(srsym);
|
|
|
+ check_hints(srsym,srsym.symoptions);
|
|
|
if not assigned(srsym) then
|
|
|
Message1(sym_e_id_no_member,orgpattern)
|
|
|
else
|
|
@@ -1827,7 +1827,7 @@ implementation
|
|
|
if token=_ID then
|
|
|
begin
|
|
|
hsym:=tsym(trecorddef(p1.resulttype.def).symtable.search(pattern));
|
|
|
- check_hints(hsym);
|
|
|
+ check_hints(hsym,hsym.symoptions);
|
|
|
if assigned(hsym) and
|
|
|
(hsym.typ=fieldvarsym) then
|
|
|
p1:=csubscriptnode.create(hsym,p1)
|
|
@@ -1849,7 +1849,7 @@ implementation
|
|
|
begin
|
|
|
classh:=tobjectdef(tclassrefdef(p1.resulttype.def).pointertype.def);
|
|
|
hsym:=searchsym_in_class(classh,pattern);
|
|
|
- check_hints(hsym);
|
|
|
+ check_hints(hsym,hsym.symoptions);
|
|
|
if hsym=nil then
|
|
|
begin
|
|
|
Message1(sym_e_id_no_member,orgpattern);
|
|
@@ -1875,7 +1875,7 @@ implementation
|
|
|
allow_only_static:=false;
|
|
|
classh:=tobjectdef(p1.resulttype.def);
|
|
|
hsym:=searchsym_in_class(classh,pattern);
|
|
|
- check_hints(hsym);
|
|
|
+ check_hints(hsym,hsym.symoptions);
|
|
|
allow_only_static:=store_static;
|
|
|
if hsym=nil then
|
|
|
begin
|
|
@@ -2057,7 +2057,7 @@ implementation
|
|
|
end;
|
|
|
if assigned(sym) then
|
|
|
begin
|
|
|
- check_hints(sym);
|
|
|
+ check_hints(sym,sym.symoptions);
|
|
|
{ load the procdef from the inherited class and
|
|
|
not from self }
|
|
|
if sym.typ in [procsym,propertysym] then
|