diff options
author | Cyrill Gorcunov <gorcunov@gmail.com> | 2018-12-16 01:21:13 +0300 |
---|---|---|
committer | Cyrill Gorcunov <gorcunov@gmail.com> | 2018-12-16 01:21:13 +0300 |
commit | 35d047632bdfcffcc8ae24d0b549c37a1666af14 (patch) | |
tree | f095165860d310be4703c56a4dbd1d893c7ec6aa /asm/nasm.c | |
parent | 988cc1222c0e646268c5adbdb534aedf813f8336 (diff) | |
download | nasm-35d047632bdfcffcc8ae24d0b549c37a1666af14.tar.gz |
nasm: Fix condition in skip_this_pass
We should not match both condition.
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
Diffstat (limited to 'asm/nasm.c')
-rw-r--r-- | asm/nasm.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1756,7 +1756,7 @@ static bool skip_this_pass(errflags severity) * pass0 is 2 on the code-generation (final) pass only. * These are the passes we care about in this case. */ - return (((severity & ERR_PASS1) && passn != 1) || + return (((severity & ERR_PASS1) && passn != 1) && ((severity & ERR_PASS2) && pass0 != 2)); } |