Treat metadata as data in agppcmpw.pas

git-svn-id: trunk@47041 -
This commit is contained in:
pierre 2020-10-03 14:23:52 +00:00
parent 65bcfe36b3
commit 0685319be8

View File

@ -1046,7 +1046,7 @@ interface
begin
if tai_symbol(hp).sym.typ=AT_FUNCTION then
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
s:= tai_symbol(hp).sym.name;
WriteDataHeader(s, tai_symbol(hp).is_global, true);