diff options
Diffstat (limited to 'subx/038---literal_strings.cc')
-rw-r--r-- | subx/038---literal_strings.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/subx/038---literal_strings.cc b/subx/038---literal_strings.cc index 19ed2690..407470ff 100644 --- a/subx/038---literal_strings.cc +++ b/subx/038---literal_strings.cc @@ -123,11 +123,11 @@ void parse_instruction_character_by_character(const string& line_data, vector<li d << c; while (has_data(in)) { in >> c; - if(c == '\\') { + if (c == '\\') { in >> c; - if(c == 'n') d << '\n'; - else if(c == 't') d << '\t'; - else if(c == '"') d << '"'; + if (c == 'n') d << '\n'; + else if (c == 't') d << '\t'; + else if (c == '"') d << '"'; else { raise << "parse_instruction_character_by_character: unknown escape sequence '\\" << c << "'\n" << end(); return; |