mirror of
https://github.com/yuzu-emu/unicorn.git
synced 2024-10-20 10:08:22 +02:00
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
This commit is contained in:
parent
ed3da56d26
commit
9ce13ce6a3
@ -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():
|
||||
|
Loading…
Reference in New Issue
Block a user