diff options
author | 2015-06-26 17:21:42 +0200 | |
---|---|---|
committer | 2015-09-04 15:47:14 +0200 | |
commit | 40b3adec13a9e022ff5a2e2b81c243fc0a026746 (patch) | |
tree | ed13a790d2c4ac976bc168b30dc20f1ac9a3b70c /scripts/qapi.py | |
parent | qapi-visit: Replace list implicit_structs by set (diff) | |
download | qemu-40b3adec13a9e022ff5a2e2b81c243fc0a026746.tar.xz qemu-40b3adec13a9e022ff5a2e2b81c243fc0a026746.zip |
qapi-visit: Fix two name arguments passed to visitors
The generated code passes mangled schema names to visit_type_enum()
and union's visit_start_struct(). Fix it to pass the names
unadulterated, like we do everywhere else.
Only qapi-schema-test.json actually has names where this makes a
difference: enum __org.qemu_x-Enum, flat union __org.qemu_x-Union2,
simple union __org.qemu_x-Union1 and its implicit enum
__org.qemu_x-Union1Kind.
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Diffstat (limited to 'scripts/qapi.py')
0 files changed, 0 insertions, 0 deletions