diff options
Diffstat (limited to 'asm/parser.c')
-rw-r--r-- | asm/parser.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/asm/parser.c b/asm/parser.c index 62a0b171..74ea77c9 100644 --- a/asm/parser.c +++ b/asm/parser.c @@ -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_warn(ERR_PASS1, "instruction has redundant prefixes"); + nasm_warn(WARN_OTHER|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_warn(ERR_PASS1, "no operand for data declaration"); + nasm_warn(WARN_OTHER|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_warn(ERR_PASS1, "register size specification ignored"); + nasm_warn(WARN_OTHER|ERR_PASS1, "register size specification ignored"); } } |