summaryrefslogtreecommitdiffhomepage
path: root/CompilerDriver
diff options
context:
space:
mode:
authorAmlal El Mahrouss <amlal.elmahrouss@icloud.com>2023-12-31 11:44:55 +0100
committerAmlal El Mahrouss <amlal.elmahrouss@icloud.com>2023-12-31 11:45:06 +0100
commit3d69e0d367cb1c5ef9f6fd7efe37a150c0c4930c (patch)
tree50767e3d2f9751503a905344d3e602a0e87617f3 /CompilerDriver
parent49691e649db958349d4582034300cba3c1002f45 (diff)
bugfix: remove useless ',' lookup code.
Signed-off-by: Amlal El Mahrouss <amlal.elmahrouss@icloud.com>
Diffstat (limited to 'CompilerDriver')
-rw-r--r--CompilerDriver/masm.cxx5
1 files changed, 0 insertions, 5 deletions
diff --git a/CompilerDriver/masm.cxx b/CompilerDriver/masm.cxx
index ab4b4bb..df4ca02 100644
--- a/CompilerDriver/masm.cxx
+++ b/CompilerDriver/masm.cxx
@@ -837,11 +837,6 @@ masm_write_label:
while (cpy_jump_label.find(' ') != std::string::npos)
cpy_jump_label.erase(cpy_jump_label.find(' '), 1);
- while (cpy_jump_label.find(',') == std::string::npos)
- {
- detail::print_error("missing ',' for relocation label", "masm");
- }
-
auto mld_reloc_str = std::to_string(cpy_jump_label.size());
mld_reloc_str += kRelocSymbol;
mld_reloc_str += cpy_jump_label;