qapi: Reduce use of global variables in generators some
commit93b564c444edc41901d0f7e922833eeb751f8249
authorMarkus Armbruster <armbru@redhat.com>
Sun, 11 Feb 2018 09:35:44 +0000 (11 10:35 +0100)
committerEric Blake <eblake@redhat.com>
Fri, 2 Mar 2018 19:14:09 +0000 (2 13:14 -0600)
treeaf0b36e50877b556dcf2b16c2094586af51ff881
parent47a6ea9aab1d857015684cda387ffba05a036721
qapi: Reduce use of global variables in generators some

In preparation of the next commit, which will turn the generators into
modules.  These global variables will become local to main() then.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Message-Id: <20180211093607.27351-7-armbru@redhat.com>
Reviewed-by: Michael Roth <mdroth@linux.vnet.ibm.com>
Signed-off-by: Eric Blake <eblake@redhat.com>
scripts/qapi-commands.py
scripts/qapi-event.py
scripts/qapi-introspect.py
scripts/qapi-types.py
scripts/qapi-visit.py