From e216876eb48cbe67a1b8fe6734b26a7a3149a9f1 Mon Sep 17 00:00:00 2001 From: Lartu <11744462+Lartu@users.noreply.github.com> Date: Thu, 24 Oct 2024 01:34:29 -0300 Subject: [PATCH] Fix string literals when using STORE QUOTE --- src/ldpl.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ldpl.cpp b/src/ldpl.cpp index d39c353..a187a98 100644 --- a/src/ldpl.cpp +++ b/src/ldpl.cpp @@ -121,7 +121,7 @@ void compile(vector &lines, compiler_state &state) } // No END QUOTE, emit the line as C++ - state.add_code("\"" + escape_c_quotes(line) + "\\n\"", state.where); + state.add_code("\"\" \"" + escape_c_quotes(line) + "\\n\"", state.where); continue; }