mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-20 12:09:06 +02:00
* 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:
parent
04984e9af9
commit
276f5bdef8
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user