From 9ce13ce6a37101b4fab4b0a053606a5ad8c1aab4 Mon Sep 17 00:00:00 2001 From: Markus Armbruster Date: Mon, 19 Feb 2018 15:48:49 -0500 Subject: [PATCH] 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. Backports commit 4f3568002393380558705397bda4cd5f224ffe29 from qemu --- qemu/scripts/qapi-types.py | 1 - 1 file changed, 1 deletion(-) diff --git a/qemu/scripts/qapi-types.py b/qemu/scripts/qapi-types.py index 9304014e..685a32a3 100644 --- a/qemu/scripts/qapi-types.py +++ b/qemu/scripts/qapi-types.py @@ -316,7 +316,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():