projects
/
platform
/
upstream
/
nasm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
41f1f2b
)
BR3104852: only warn once for repeated prefixes
author
Victor van den Elzen
<victor.vde@gmail.com>
Sun, 7 Nov 2010 22:47:13 +0000
(23:47 +0100)
committer
Cyrill Gorcunov
<gorcunov@gmail.com>
Sun, 21 Nov 2010 16:41:01 +0000
(19:41 +0300)
parser.c
patch
|
blob
|
history
diff --git
a/parser.c
b/parser.c
index
ea36e86
..
f3c60b2
100644
(file)
--- 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,