qemu-e2k/qobject
Markus Armbruster d538b25543 qjson: Convert to parser to recursive descent
We backtrack in parse_value(), even though JSON is LL(1) and thus can
be parsed by straightforward recursive descent.  Do exactly that.

Based on an almost-correct patch from Paolo Bonzini.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Message-Id: <1448486613-17634-10-git-send-email-armbru@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
2015-11-26 10:06:57 +01:00
..
json-lexer.c qjson: replace QString in JSONLexer with GString 2015-11-26 09:31:22 +01:00
json-parser.c qjson: Convert to parser to recursive descent 2015-11-26 10:06:57 +01:00
json-streamer.c qjson: replace QString in JSONLexer with GString 2015-11-26 09:31:22 +01:00
Makefile.objs qerror: Finally unused, clean up 2015-06-22 18:20:40 +02:00
qbool.c qbool: Make conversion from QObject * accept null 2015-10-29 14:34:44 +01:00
qdict.c qstring: Make conversion from QObject * accept null 2015-10-29 14:34:45 +01:00
qfloat.c qfloat qint: Make conversion from QObject * accept null 2015-10-29 14:34:45 +01:00
qint.c qfloat qint: Make conversion from QObject * accept null 2015-10-29 14:34:45 +01:00
qjson.c qerror: Finally unused, clean up 2015-06-22 18:20:40 +02:00
qlist.c qlist: Make conversion from QObject * accept null 2015-10-29 14:34:45 +01:00
qnull.c qobject: Add a special null QObject 2015-05-11 08:59:07 -04:00
qstring.c qstring: Make conversion from QObject * accept null 2015-10-29 14:34:45 +01:00