summaryrefslogtreecommitdiff
path: root/asm/parser.c
diff options
context:
space:
mode:
Diffstat (limited to 'asm/parser.c')
-rw-r--r--asm/parser.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/asm/parser.c b/asm/parser.c
index c34f8337..62a0b171 100644
--- a/asm/parser.c
+++ b/asm/parser.c
@@ -469,7 +469,7 @@ restart_parse:
*! a label without a trailing colon. This is most likely indicative
*! of a typo, but is technically correct NASM syntax (see \k{syntax}.)
*/
- nasm_warnf(WARN_ORPHAN_LABELS | ERR_PASS1,
+ nasm_warn(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) {
@@ -519,7 +519,7 @@ restart_parse:
int slot = prefix_slot(tokval.t_integer);
if (result->prefixes[slot]) {
if (result->prefixes[slot] == tokval.t_integer)
- nasm_warnf(ERR_PASS1, "instruction has redundant prefixes");
+ nasm_warn(ERR_PASS1, "instruction has redundant prefixes");
else
nasm_nonfatal("instruction has conflicting prefixes");
}
@@ -736,7 +736,7 @@ is_expression:
*/
goto fail;
} else /* DB ... */ if (oper_num == 0)
- nasm_warnf(ERR_PASS1, "no operand for data declaration");
+ nasm_warn(ERR_PASS1, "no operand for data declaration");
else
result->operands = oper_num;
@@ -1130,7 +1130,7 @@ is_expression:
op->basereg = value->type;
if (rs && (op->type & SIZE_MASK) != rs)
- nasm_warnf(ERR_PASS1, "register size specification ignored");
+ nasm_warn(ERR_PASS1, "register size specification ignored");
}
}