Add encoding of \r.

master
Torsten Paul 2014-06-22 03:58:25 +02:00
parent 86e87e45f9
commit 62aebbbb37
1 changed files with 3 additions and 0 deletions

View File

@ -61,6 +61,9 @@ std::ostream &operator<<(std::ostream &stream, const QuotedString &s)
case '\n':
stream << "\\n";
break;
case '\r':
stream << "\\r";
break;
case '"':
case '\\':
stream << '\\';