mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-08 11:38:21 +02:00
Fixed undef const expression mangling
This commit is contained in:
parent
066a7fce09
commit
b47fd88660
1 changed files with 5 additions and 0 deletions
|
@ -656,6 +656,9 @@ void BfGNUMangler::Mangle(MangleContext& mangleContext, StringImpl& name, BfType
|
|||
name += strP;
|
||||
name += '`';
|
||||
}
|
||||
|
||||
if (constExprValueType->mValue.mTypeCode == BfTypeCode_Let)
|
||||
name += "Undef";
|
||||
}
|
||||
else
|
||||
{
|
||||
|
@ -1756,6 +1759,8 @@ void BfMSMangler::Mangle(MangleContext& mangleContext, StringImpl& name, BfType*
|
|||
name += "$";
|
||||
}
|
||||
MangleConst(mangleContext, name, val);
|
||||
if (constExprValueType->mValue.mTypeCode == BfTypeCode_Let)
|
||||
name += "Undef";
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue