summary refs log tree commit diff stats
path: root/scripts/qapi/types.py
diff options
context:
space:
mode:
authorRichard Henderson <richard.henderson@linaro.org>2019-02-23 08:57:46 -0800
committerRichard Henderson <richard.henderson@linaro.org>2019-03-12 09:46:58 -0700
commiteb6b87fac70dd62e3f1286703db20c012e7a9611 (patch)
tree6be0abed75ef4c1b8dedab9522d60e05ae005d56 /scripts/qapi/types.py
parent9b3186e38f00ae0cba36c096e3654f916699f336 (diff)
downloadfocaccia-qemu-eb6b87fac70dd62e3f1286703db20c012e7a9611.tar.gz
focaccia-qemu-eb6b87fac70dd62e3f1286703db20c012e7a9611.zip
decodetree: Do not unconditionaly return from Pattern.output_code
As a consequence, the 'return false' gets pushed up one level.

This will allow us to perform some other action when the
translator returns failure.

Tested-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Bastian Koppelmann <kbastian@mail.uni-paderborn.de>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'scripts/qapi/types.py')
0 files changed, 0 insertions, 0 deletions