qapi: Forbid 'type' in schema
commit3e391d355644b2bff7c9f187759aadb46c6e051f
authorEric Blake <eblake@redhat.com>
Mon, 4 May 2015 15:05:28 +0000 (4 09:05 -0600)
committerMarkus Armbruster <armbru@redhat.com>
Tue, 5 May 2015 16:39:01 +0000 (5 18:39 +0200)
tree6b4c8cf72241f97797f60a05289d5e3782692933
parent895a2a80e0e054f0d5d3715aa93d10d15e49f9f7
qapi: Forbid 'type' in schema

Referring to "type" as both a meta-type (built-in, enum, union,
alternate, or struct) and a specific type (the name that the
schema uses for declaring structs) is confusing.  Finish up the
conversion to using "struct" in qapi schema by removing the hack
in the generator that allowed 'type'.

Signed-off-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
scripts/qapi.py