diff options
author | H. Peter Anvin (Intel) <hpa@zytor.com> | 2018-12-14 13:33:24 -0800 |
---|---|---|
committer | H. Peter Anvin (Intel) <hpa@zytor.com> | 2018-12-14 13:33:24 -0800 |
commit | 80c4f23c52427382e455fd656bcbeeb60d725811 (patch) | |
tree | f1e7c328f89b01500d16ad857f171bc110be2206 /asm/stdscan.c | |
parent | 727c85263fd07dd2a4db77f17a2b2dfbdca79458 (diff) | |
download | nasm-80c4f23c52427382e455fd656bcbeeb60d725811.tar.gz |
nasm_warnf() -> nasm_warn()
We want to strongly encourage writers of warnings to create warning
categories, so remove the flagless nasm_warn() and change nasm_warnf()
to nasm_warn().
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 ee6d0442..dbe0fd54 100644 --- a/asm/stdscan.c +++ b/asm/stdscan.c @@ -173,7 +173,7 @@ int stdscan(void *private_data, struct tokenval *tv) *! indicate a mistake in the source code. Currently only the MASM *! \c{PTR} keyword is recognized. */ - nasm_warnf(ERR_PASS1|WARN_PTR, "`%s' is not a NASM keyword", + nasm_warn(ERR_PASS1|WARN_PTR, "`%s' is not a NASM keyword", tv->t_charptr); } |