diff --git a/src/reconstruct.cpp b/src/reconstruct.cpp index fed73c4..dd60542 100644 --- a/src/reconstruct.cpp +++ b/src/reconstruct.cpp @@ -405,9 +405,9 @@ std::string tokens_to_nasm(std::vector& tokens) continue; } if (tokens[i]->tok_type == SECTION) { - output += "section " + tokens[i]->tok_section->name + "\n"; + output += "section " + tokens[i]->tok_section->name; } else if (tokens[i]->tok_type == TAG) { - output += tokens[i]->tok_tag->name + ":" + "\n"; + output += tokens[i]->tok_tag->name + ":"; } else if (tokens[i]->tok_type == CMD) { output += tokens[i]->tok_cmd->command; if (!tokens[i]->tok_cmd->arg1.empty()) {