Added support for \r in string literals.
This commit is contained in:
parent
40891d00d7
commit
a1d3cd3d49
1 changed files with 1 additions and 0 deletions
|
@ -100,6 +100,7 @@ namespace arookas {
|
|||
case 'b': sb.Append('\b'); break;
|
||||
case 'f': sb.Append('\f'); break;
|
||||
case 'n': sb.Append('\n'); break;
|
||||
case 'r': sb.Append('\r'); break;
|
||||
case 't': sb.Append('\t'); break;
|
||||
case 'v': sb.Append('\v'); break;
|
||||
case 'x': sb.Append(UnescapeHex(value, j + 2, out i)); continue;
|
||||
|
|
Loading…
Reference in a new issue