mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-17 07:39:13 +02:00
Treat metadata as data in agppcmpw.pas
git-svn-id: trunk@47041 -
This commit is contained in:
parent
65bcfe36b3
commit
0685319be8
@ -1046,7 +1046,7 @@ interface
|
|||||||
begin
|
begin
|
||||||
if tai_symbol(hp).sym.typ=AT_FUNCTION then
|
if tai_symbol(hp).sym.typ=AT_FUNCTION then
|
||||||
WriteProcedureHeader(hp)
|
WriteProcedureHeader(hp)
|
||||||
else if tai_symbol(hp).sym.typ=AT_DATA then
|
else if tai_symbol(hp).sym.typ in [AT_DATA,AT_METADATA] then
|
||||||
begin
|
begin
|
||||||
s:= tai_symbol(hp).sym.name;
|
s:= tai_symbol(hp).sym.name;
|
||||||
WriteDataHeader(s, tai_symbol(hp).is_global, true);
|
WriteDataHeader(s, tai_symbol(hp).is_global, true);
|
||||||
|
Loading…
Reference in New Issue
Block a user