summaryrefslogtreecommitdiff
path: root/output
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2019-06-06 20:53:17 -0700
committerH. Peter Anvin <hpa@zytor.com>2019-06-06 20:53:17 -0700
commitfdeb3b0d018f4c0ce5e16c0620287af806873543 (patch)
treeabb43e13e940bf0a7d10a7698e827350684bd3bc /output
parent186f9a0514f466c36677b515622ba1c4fa96e32d (diff)
downloadnasm-fdeb3b0d018f4c0ce5e16c0620287af806873543.tar.gz
Add group aliases for all prefixed warnings.
For example, -w+float will now enable all warnings with names staring with float-*. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Diffstat (limited to 'output')
-rw-r--r--output/outdbg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/output/outdbg.c b/output/outdbg.c
index 2bf176cb..3c1f42f2 100644
--- a/output/outdbg.c
+++ b/output/outdbg.c
@@ -371,7 +371,7 @@ dbg_pragma(const struct pragma *pragma)
errno = 0;
arg = strtoul(pragma->tail, &ep, 0);
if (errno || *nasm_skip_spaces(ep)) {
- nasm_error(ERR_WARNING | WARN_BAD_PRAGMA | ERR_PASS2,
+ nasm_error(ERR_WARNING | WARN_PRAGMA_BAD | ERR_PASS2,
"invalid %%pragma dbg maxdump argument");
return DIRR_ERROR;
} else {