|
@@ -535,6 +535,7 @@ implementation
|
|
|
procstartfilepos : tfileposinfo;
|
|
|
i,
|
|
|
index : longint;
|
|
|
+ addgendummy,
|
|
|
hadspecialize,
|
|
|
firstpart,
|
|
|
found,
|
|
@@ -867,6 +868,7 @@ implementation
|
|
|
srsym:=nil;
|
|
|
genericparams:=nil;
|
|
|
hadspecialize:=false;
|
|
|
+ addgendummy:=false;
|
|
|
|
|
|
if not assigned(genericdef) then
|
|
|
begin
|
|
@@ -1071,6 +1073,7 @@ implementation
|
|
|
as if nothing happened }
|
|
|
hidesym(srsym);
|
|
|
searchagain:=true;
|
|
|
+ addgendummy:=true;
|
|
|
end
|
|
|
else
|
|
|
begin
|
|
@@ -1106,6 +1109,8 @@ implementation
|
|
|
aprocsym:=cprocsym.create('$'+lower(sp))
|
|
|
else
|
|
|
aprocsym:=cprocsym.create(orgsp);
|
|
|
+ if addgendummy then
|
|
|
+ include(aprocsym.symoptions,sp_generic_dummy);
|
|
|
symtablestack.top.insert(aprocsym);
|
|
|
end;
|
|
|
end;
|