1
0
mirror of https://github.com/lefticus/6502-cpp.git synced 2026-04-20 11:17:18 +00:00

Fix processing of labels to get std::variant working

This commit is contained in:
Jason Turner
2021-05-25 13:49:33 -06:00
parent 5b764ad179
commit 1f03d18d5e
3 changed files with 73 additions and 18 deletions
+1 -1
View File
@@ -264,7 +264,7 @@ struct mos6502 : ASMLine
return text;// + ':';
case ASMLine::Type::Directive:
case ASMLine::Type::Instruction: {
return fmt::format("\t{} {:15}; {}", text, op.value, comment);
return fmt::format("\t{} {:15}\t; {}", text, op.value, comment);
}
}
throw std::runtime_error("Unable to render: " + text);