Fix escape sequence handling in encoding::json

This commit is contained in:
chri-k
2024-09-29 09:45:43 +03:00
committed by Christoffer Lerno
parent 2e94ea1a0d
commit 94abb3bd0c

View File

@@ -386,6 +386,7 @@ fn JsonTokenType! lex_string(JsonContext* context)
default:
return JsonParsingError.INVALID_ESCAPE_SEQUENCE?;
}
context.last_string.append(c);
}
return STRING;
}