mirror of
https://github.com/netwide-assembler/nasm.git
synced 2024-11-21 03:14:19 +08:00
nasm: Fix condition in skip_this_pass
We should not match both condition. Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
This commit is contained in:
parent
988cc1222c
commit
35d047632b
@ -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));
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user