Skip to content

Commit e216876

Browse files
committed
Fix string literals when using STORE QUOTE
1 parent 38c426a commit e216876

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ldpl.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ void compile(vector<string> &lines, compiler_state &state)
121121
}
122122

123123
// No END QUOTE, emit the line as C++
124-
state.add_code("\"" + escape_c_quotes(line) + "\\n\"", state.where);
124+
state.add_code("\"\" \"" + escape_c_quotes(line) + "\\n\"", state.where);
125125
continue;
126126
}
127127

0 commit comments

Comments
 (0)