* ensure that nothing assembly related is generated for generics when a typed constant (this also includes local variable initializations) are parsed

git-svn-id: trunk@43534 -
This commit is contained in:
svenbarth 2019-11-21 21:44:16 +00:00
parent 04984e9af9
commit 276f5bdef8

View File

@ -123,6 +123,8 @@ implementation
end;
end;
if not parse_generic then
begin
if vo_is_public in sym.varoptions then
current_module.add_public_asmsym(sym.mangledname,AB_GLOBAL,AT_DATA);
@ -141,6 +143,7 @@ implementation
begin
{ nothing to do }
end;
end;
tcbuilder.free;
current_filepos:=storefilepos;