Skip to content

Commit 85d520f

Browse files
committed
script: read symbol string values as escaped
(cherry picked from commit 5c0b923)
1 parent b8f1611 commit 85d520f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: source/script.cc

+1-1
Original file line numberDiff line numberDiff line change
@@ -260,7 +260,7 @@ namespace phoenix {
260260
case datatype::string: {
261261
std::unique_ptr<std::string[]> value {new std::string[sym._m_count]};
262262
for (std::uint32_t i = 0; i < sym._m_count; ++i) {
263-
value[i] = in.get_line(false);
263+
value[i] = in.get_line_escaped(false);
264264
}
265265
sym._m_value = std::move(value);
266266
break;

0 commit comments

Comments
 (0)