Allow escaping quotes in string

This commit is contained in:
2018-11-17 16:36:41 +01:00
parent 46308557c8
commit 4414534866

View File

@@ -144,6 +144,11 @@ namespace Upsilon.Parser
while (_position < _text.Length)
{
_position++;
if (Current == '\\' && Next == '"')
{
sb.Append("\"");
_position += 2;
}
if (Current == '"')
break;
sb.Append(Current);