Skip to content

Commit

Permalink
Fix string literals when using STORE QUOTE
Browse files Browse the repository at this point in the history
  • Loading branch information
Lartu committed Oct 24, 2024
1 parent 38c426a commit e216876
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ldpl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ void compile(vector<string> &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;
}

Expand Down

0 comments on commit e216876

Please sign in to comment.