summaryrefslogtreecommitdiff
path: root/parser.c
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2002-04-30 21:05:55 +0000
committerH. Peter Anvin <hpa@zytor.com>2002-04-30 21:05:55 +0000
commit09f6acbb75d7f58aa78691844620b85b6c44919b (patch)
tree24e2d6838a266ff026a5e84da16e9deb2baa155e /parser.c
parentb1a0143a0db46de295e647975b08aa9b6a00fef9 (diff)
downloadnasm-09f6acbb75d7f58aa78691844620b85b6c44919b.tar.gz
NASM 0.98.21nasm-0.98.21
Diffstat (limited to 'parser.c')
-rw-r--r--parser.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/parser.c b/parser.c
index c3c00fc0..23d32926 100644
--- a/parser.c
+++ b/parser.c
@@ -686,11 +686,10 @@ insn *parse_line (int pass, char *buffer, insn *result,
if (is_simple(value)) {
if (reloc_value(value)==1)
result->oprs[operand].type |= UNITY;
- if (optimizing>0) {
+ if (optimizing>=0) {
if (reloc_value(value) >= -128 &&
reloc_value(value) <= 127)
result->oprs[operand].type |= SBYTE;
- else result->oprs[operand].type |= SBIG;
}
}
}