summaryrefslogtreecommitdiff
path: root/parser.c
diff options
context:
space:
mode:
authorVictor van den Elzen <victor.vde@gmail.com>2010-11-07 23:47:13 +0100
committerVictor van den Elzen <victor.vde@gmail.com>2010-11-07 23:47:13 +0100
commitd55a158cecc154e86d06a88edbf61bfe371e727c (patch)
treefbb26f7a1cdd75258d17063874454b628be8504f /parser.c
parentb3cee5a57ab2cd0a99ad01ac9db73e31ae90d519 (diff)
downloadnasm-d55a158cecc154e86d06a88edbf61bfe371e727c.tar.gz
nasm-d55a158cecc154e86d06a88edbf61bfe371e727c.tar.bz2
nasm-d55a158cecc154e86d06a88edbf61bfe371e727c.zip
BR3104852: only warn once for repeated prefixes
Diffstat (limited to 'parser.c')
-rw-r--r--parser.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/parser.c b/parser.c
index 681aa39..42ac109 100644
--- a/parser.c
+++ b/parser.c
@@ -292,7 +292,7 @@ restart_parse:
int slot = prefix_slot(tokval.t_integer);
if (result->prefixes[slot]) {
if (result->prefixes[slot] == tokval.t_integer)
- nasm_error(ERR_WARNING,
+ nasm_error(ERR_WARNING | ERR_PASS1,
"instruction has redundant prefixes");
else
nasm_error(ERR_NONFATAL,