mirror of
https://github.com/mii443/qemu.git
synced 2025-12-07 21:18:22 +00:00
json: Update references to RFC 7159 to RFC 8259
RFC 8259 (December 2017) obsoletes RFC 7159 (March 2014). Signed-off-by: Markus Armbruster <armbru@redhat.com> Message-Id: <20180823164025.12553-59-armbru@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com>
This commit is contained in:
@@ -516,7 +516,7 @@ static QObject *parse_literal(JSONParserContext *ctxt)
|
||||
}
|
||||
case JSON_FLOAT:
|
||||
/* FIXME dependent on locale; a pervasive issue in QEMU */
|
||||
/* FIXME our lexer matches RFC 7159 in forbidding Inf or NaN,
|
||||
/* FIXME our lexer matches RFC 8259 in forbidding Inf or NaN,
|
||||
* but those might be useful extensions beyond JSON */
|
||||
return QOBJECT(qnum_from_double(strtod(token->str, NULL)));
|
||||
default:
|
||||
|
||||
Reference in New Issue
Block a user