aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorMarkus Armbruster <armbru@redhat.com>2015-06-12 08:32:51 +0200
committerMarkus Armbruster <armbru@redhat.com>2015-06-18 14:19:47 +0200
commit4f3568002393380558705397bda4cd5f224ffe29 (patch)
treeeb939de74ea6a028f0aaa3f9431a34ab45fc35c7 /scripts
parentf9a1427361fe06ac67480d580412dc4ed6f5d03b (diff)
downloadqemu-4f3568002393380558705397bda4cd5f224ffe29.zip
qemu-4f3568002393380558705397bda4cd5f224ffe29.tar.gz
qemu-4f3568002393380558705397bda4cd5f224ffe29.tar.bz2
qapi-types: Don't filter out expressions with 'gen'
Useless, because it can only occur in commands, and we're not dealing with commands here. Signed-off-by: Markus Armbruster <armbru@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com>
Diffstat (limited to 'scripts')
-rw-r--r--scripts/qapi-types.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/scripts/qapi-types.py b/scripts/qapi-types.py
index 6bd0b13..86e5ddc 100644
--- a/scripts/qapi-types.py
+++ b/scripts/qapi-types.py
@@ -329,7 +329,6 @@ fdecl.write(mcgen('''
'''))
exprs = parse_schema(input_file)
-exprs = filter(lambda expr: not expr.has_key('gen'), exprs)
fdecl.write(guardstart("QAPI_TYPES_BUILTIN_STRUCT_DECL"))
for typename in builtin_types.keys():