Commit 83d7c40c authored by Bastian Koppelmann's avatar Bastian Koppelmann Committed by Richard Henderson
Browse files

scripts/decodetree: Fix insnmask not marked as global in main()



if '-w 16' was given as a cmdline args a local copy of insnmask
is set and not the global one.

Signed-off-by: default avatarPeer Adelt <peer.adelt@hni.uni-paderborn.de>
Signed-off-by: default avatarBastian Koppelmann <kbastian@mail.uni-paderborn.de>
Message-Id: <20180319115846.9662-1-kbastian@mail.uni-paderborn.de>
Reviewed-by: default avatarRichard Henderson <richard.henderson@linaro.org>
Signed-off-by: default avatarRichard Henderson <richard.henderson@linaro.org>
parent 2ffd221d
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -972,6 +972,7 @@ def main():
    global input_file
    global insnwidth
    global insntype
    global insnmask

    decode_function = 'decode'
    decode_scope = 'static '