From 807d6a8056d9fe813b76b925df104e6794d2c2a7 Mon Sep 17 00:00:00 2001 From: NoneSince Date: Sat, 27 Jan 2024 15:46:37 +0200 Subject: [PATCH] fixed extra newlines --- src/reconstruct.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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()) {