mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-14 17:09:10 +02:00
* fixed switched around lists for read-only/read-write typed consts
git-svn-id: trunk@18068 -
This commit is contained in:
parent
6bad75a1eb
commit
d7c1967351
@ -279,9 +279,9 @@ implementation
|
|||||||
{ get init value }
|
{ get init value }
|
||||||
consume(_EQ);
|
consume(_EQ);
|
||||||
if (cs_typed_const_writable in current_settings.localswitches) then
|
if (cs_typed_const_writable in current_settings.localswitches) then
|
||||||
tclist:=current_asmdata.asmlists[al_rotypedconsts]
|
tclist:=current_asmdata.asmlists[al_typedconsts]
|
||||||
else
|
else
|
||||||
tclist:=current_asmdata.asmlists[al_typedconsts];
|
tclist:=current_asmdata.asmlists[al_rotypedconsts];
|
||||||
read_typed_const(tclist,tstaticvarsym(sym),in_structure);
|
read_typed_const(tclist,tstaticvarsym(sym),in_structure);
|
||||||
end;
|
end;
|
||||||
end;
|
end;
|
||||||
|
Loading…
Reference in New Issue
Block a user