Merge branch 'development' into LTS_development
This commit is contained in:
commit
7b52f0cd92
1 changed files with 2 additions and 1 deletions
|
@ -178,7 +178,7 @@ static std::string read_string(char separator, std::istream &fromstream){
|
|||
while (fromstream.good()){
|
||||
char c;
|
||||
fromstream.get(c);
|
||||
if (c == '\\'){
|
||||
if (!escaped && c == '\\'){
|
||||
escaped = true;
|
||||
continue;
|
||||
}
|
||||
|
@ -189,6 +189,7 @@ static std::string read_string(char separator, std::istream &fromstream){
|
|||
}
|
||||
switch (c){
|
||||
case 'b': out += '\b'; break;
|
||||
case '\\': out += '\\'; break;
|
||||
case 'f': out += '\f'; break;
|
||||
case 'n': out += '\n'; break;
|
||||
case 'r': out += '\r'; break;
|
||||
|
|
Loading…
Add table
Reference in a new issue