|
@@ -349,6 +349,7 @@ interface
|
|
|
procedure add_index_parameter(var paranr: word; readprocdef, writeprocdef: tprocdef);
|
|
|
{ set up the accessors for this property }
|
|
|
procedure add_getter_or_setter_for_sym(getset: tpropaccesslisttypes; sym: tsym; fielddef: tdef; accessordef: tprocdef);
|
|
|
+ procedure register_override(overriddenprop: tpropertysym); virtual;
|
|
|
end;
|
|
|
tpropertysymclass = class of tpropertysym;
|
|
|
|
|
@@ -1437,6 +1438,13 @@ implementation
|
|
|
end;
|
|
|
|
|
|
|
|
|
+ procedure tpropertysym.register_override(overriddenprop: tpropertysym);
|
|
|
+ begin
|
|
|
+ overriddenpropsym:=tpropertysym(overriddenprop);
|
|
|
+ include(propoptions,ppo_overrides);
|
|
|
+ end;
|
|
|
+
|
|
|
+
|
|
|
procedure tpropertysym.makeduplicate(p: tpropertysym; readprocdef, writeprocdef: tprocdef; out paranr: word);
|
|
|
begin
|
|
|
{ inherit all type related entries }
|