On 08/17/2018 10:05 AM, Markus Armbruster wrote:
Both lexer and parser reject invalid escape sequences in strings. The parser's check is useless.
While there, fix parse_string()'s inaccurate function comment. Signed-off-by: Markus Armbruster <[email protected]> ---
+ * From RFC 7159 "The JavaScript Object Notation (JSON) Data + * Interchange Format":
You did point out in the cover letter that you intend to rewrite this to point to 8259. (That's saying something - when portions of these patches have been around on our mailing list prior to the point of the RFC being updated). Here, and elsewhere in the series, that's minor enough that I don't see it invalidating any of my R-b.
Reviewed-by: Eric Blake <[email protected]> -- Eric Blake, Principal Software Engineer Red Hat, Inc. +1-919-301-3266 Virtualization: qemu.org | libvirt.org
