summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2016-07-06 11:55:25 -0700
committerH. Peter Anvin <hpa@zytor.com>2016-07-06 11:55:25 -0700
commit0fcb488df31b3f75efd2ae92ea194b7aa5f78253 (patch)
tree9b2c54102095dd85f98cca4023ecb5e8a1742bfd
parentbbb7a1aad9bc5e13ab5c2268bc318a94b796eed2 (diff)
downloadnasm-0fcb488df31b3f75efd2ae92ea194b7aa5f78253.tar.gz
Don't suppress ERR_DEBUG messages from the list file
In some cases, debug messages in the list file can be enormously powerful for finding problems. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
-rw-r--r--nasm.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/nasm.c b/nasm.c
index 4df3c373..02e34a18 100644
--- a/nasm.c
+++ b/nasm.c
@@ -2019,8 +2019,7 @@ static void nasm_verror_common(int severity, const char *fmt, va_list args)
* Don't suppress this with skip_this_pass(), or we don't get
* pass1 or preprocessor warnings in the list file
*/
- if ((severity & ERR_MASK) >= ERR_WARNING)
- lfmt->error(severity, pfx, msg);
+ lfmt->error(severity, pfx, msg);
if (severity & ERR_USAGE)
want_usage = true;