diff options
author | H. Peter Anvin (Intel) <hpa@zytor.com> | 2018-12-12 17:48:38 -0800 |
---|---|---|
committer | H. Peter Anvin (Intel) <hpa@zytor.com> | 2018-12-12 17:48:38 -0800 |
commit | df4d3425993f80f0e56922368c845a40587a7dc0 (patch) | |
tree | fc173de75e8a28a9fc8673ae277138a5b7e922e9 /asm/stdscan.c | |
parent | eb5b3ae0d3383cef2651ae642ad297bc1dc6f228 (diff) | |
download | nasm-df4d3425993f80f0e56922368c845a40587a7dc0.tar.gz |
warnings: rename ERR_WARN_* to WARN_*
The prefix ERR_WARN_ is unnecessarily long and may be a disincentive
to create new warning categories. Change it to WARN_*, it is still
plenty distinctive.
This is equivalent to nasm-2.14.xx checkin 77f53ba6d4cb90e5a7e09b33357ed7c1fe9f6b9d.
Signed-off-by: H. Peter Anvin (Intel) <hpa@zytor.com>
Diffstat (limited to 'asm/stdscan.c')
-rw-r--r-- | asm/stdscan.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/asm/stdscan.c b/asm/stdscan.c index 9194a925..b197b27f 100644 --- a/asm/stdscan.c +++ b/asm/stdscan.c @@ -167,7 +167,7 @@ int stdscan(void *private_data, struct tokenval *tv) token_type = nasm_token_hash(ourcopy, tv); if (unlikely(tv->t_flag & TFLAG_WARN)) { - nasm_warnf(ERR_PASS1|ERR_WARN_PTR, "`%s' is not a NASM keyword", + nasm_warnf(ERR_PASS1|WARN_PTR, "`%s' is not a NASM keyword", tv->t_charptr); } |