decodetree: Do not unconditionaly return from Pattern.output_code
authorRichard Henderson <richard.henderson@linaro.org>
Sat, 23 Feb 2019 16:57:46 +0000 (08:57 -0800)
committerRichard Henderson <richard.henderson@linaro.org>
Tue, 12 Mar 2019 16:46:58 +0000 (09:46 -0700)
commiteb6b87fac70dd62e3f1286703db20c012e7a9611
tree6be0abed75ef4c1b8dedab9522d60e05ae005d56
parent9b3186e38f00ae0cba36c096e3654f916699f336
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>
scripts/decodetree.py