diff options
author | Victor van den Elzen <victor.vde@gmail.com> | 2010-11-07 23:47:13 +0100 |
---|---|---|
committer | Cyrill Gorcunov <gorcunov@gmail.com> | 2010-11-21 19:41:01 +0300 |
commit | 0d0f8ec4187dc4c54bfe1e08fb713c2b8fe7ae3f (patch) | |
tree | 6de8b369f8ccea36e31d7139b4ce2a9baa531de1 | |
parent | 41f1f2badc86bfb3bdb7ef11697ed01d0c476207 (diff) | |
download | nasm-0d0f8ec4187dc4c54bfe1e08fb713c2b8fe7ae3f.tar.gz |
BR3104852: only warn once for repeated prefixes
-rw-r--r-- | parser.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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, |