summaryrefslogtreecommitdiff
path: root/asm/parser.c
diff options
context:
space:
mode:
authorH. Peter Anvin (Intel) <hpa@zytor.com>2018-12-12 18:13:47 -0800
committerH. Peter Anvin (Intel) <hpa@zytor.com>2018-12-12 18:13:47 -0800
commitfef75c265a2dafb6482ffd4078f74f2a66fa2535 (patch)
treed0413fcc1a72ee51aaecd3f99b9361678dbc9f07 /asm/parser.c
parent8e08fb6da7bf1ac50b7c960c5b13c3bed7535b3d (diff)
downloadnasm-fef75c265a2dafb6482ffd4078f74f2a66fa2535.tar.gz
warnings: Make WARN_ constants consistent with -w options
Not only does this make it consistent, but allows for automation. Signed-off-by: H. Peter Anvin (Intel) <hpa@zytor.com>
Diffstat (limited to 'asm/parser.c')
-rw-r--r--asm/parser.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/asm/parser.c b/asm/parser.c
index dbfb11cb..04def6b4 100644
--- a/asm/parser.c
+++ b/asm/parser.c
@@ -463,7 +463,7 @@ restart_parse:
if (i == ':') { /* skip over the optional colon */
i = stdscan(NULL, &tokval);
} else if (i == 0) {
- nasm_warnf(WARN_OL | ERR_PASS1,
+ nasm_warnf(WARN_ORPHAN_LABELS | ERR_PASS1,
"label alone on a line without a colon might be in error");
}
if (i != TOKEN_INSN || tokval.t_integer != I_EQU) {