qemu-e2k/qapi
Markus Armbruster a4a1c70dc7 qapi: Make input visitors detect unvisited list tails
Fix the design flaw demonstrated in the previous commit: new method
check_list() lets input visitors report that unvisited input remains
for a list, exactly like check_struct() lets them report that
unvisited input remains for a struct or union.

Implement the method for the qobject input visitor (straightforward),
and the string input visitor (less so, due to the magic list syntax
there).  The opts visitor's list magic is even more impenetrable, and
all I can do there today is a stub with a FIXME comment.  No worse
than before.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Message-Id: <1488544368-30622-26-git-send-email-armbru@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
2017-03-05 09:14:20 +01:00
..
block-core.json -----BEGIN PGP SIGNATURE----- 2017-03-02 23:20:37 +00:00
block.json
common.json
crypto.json
event.json qmp-events: fix GUEST_PANICKED description formatting 2017-03-03 16:40:03 +01:00
introspect.json
Makefile.objs
opts-visitor.c qapi: Make input visitors detect unvisited list tails 2017-03-05 09:14:20 +01:00
qapi-clone-visitor.c
qapi-dealloc-visitor.c
qapi-util.c
qapi-visit-core.c qapi: Make input visitors detect unvisited list tails 2017-03-05 09:14:20 +01:00
qmp-dispatch.c qmp: Eliminate silly QERR_QMP_* macros 2017-03-05 09:14:19 +01:00
qmp-event.c
qmp-registry.c qapi: Support multiple command registries per program 2017-03-05 09:12:25 +01:00
qobject-input-visitor.c qapi: Make input visitors detect unvisited list tails 2017-03-05 09:14:20 +01:00
qobject-output-visitor.c
rocker.json
string-input-visitor.c qapi: Make input visitors detect unvisited list tails 2017-03-05 09:14:20 +01:00
string-output-visitor.c
trace-events qapi: Make input visitors detect unvisited list tails 2017-03-05 09:14:20 +01:00
trace.json