Skip to content

Commit

Permalink
Merge pull request #169 from StraDaMa/master
Browse files Browse the repository at this point in the history
Fix local labels not working after a .msg directive
  • Loading branch information
Kingcom committed May 22, 2020
2 parents 156f78f + df8f3ae commit cf8b1ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Archs/ARM/ArmParser.cpp
Expand Up @@ -68,7 +68,7 @@ std::unique_ptr<CAssemblerCommand> parseDirectiveMsg(Parser& parser, int flags)
return nullptr;

return parser.parseTemplate(msgTemplate, {
{ L"%after%", Global.symbolTable.getUniqueLabelName() },
{ L"%after%", Global.symbolTable.getUniqueLabelName(true) },
{ L"%text%", text.toString() },
{ L"%alignment%", Arm.GetThumbMode() == true ? L"2" : L"4" }
});
Expand Down

0 comments on commit cf8b1ab

Please sign in to comment.