From 3d69e0d367cb1c5ef9f6fd7efe37a150c0c4930c Mon Sep 17 00:00:00 2001 From: Amlal El Mahrouss Date: Sun, 31 Dec 2023 11:44:55 +0100 Subject: bugfix: remove useless ',' lookup code. Signed-off-by: Amlal El Mahrouss --- CompilerDriver/masm.cxx | 5 ----- 1 file changed, 5 deletions(-) (limited to 'CompilerDriver') 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; -- cgit v1.2.3