diff options
author | H. Peter Anvin <hpa@zytor.com> | 2002-05-22 20:45:09 +0000 |
---|---|---|
committer | H. Peter Anvin <hpa@zytor.com> | 2002-05-22 20:45:09 +0000 |
commit | 8c1da7b3cea0acbf138bd0f984cf4d14d94f69a1 (patch) | |
tree | ec5fb2331ba6b55fbc5a9a6b8cb8b15caece62c5 /parser.c | |
parent | f1bbcf31600a0a691f9454803985a45eb4d4fd25 (diff) | |
download | nasm-8c1da7b3cea0acbf138bd0f984cf4d14d94f69a1.tar.gz nasm-8c1da7b3cea0acbf138bd0f984cf4d14d94f69a1.tar.bz2 nasm-8c1da7b3cea0acbf138bd0f984cf4d14d94f69a1.zip |
Fix the handling of the STRICT keyword
Diffstat (limited to 'parser.c')
-rw-r--r-- | parser.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -690,7 +690,8 @@ 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 && + !(result->oprs[operand].type & STRICT)) { if (reloc_value(value) >= -128 && reloc_value(value) <= 127) result->oprs[operand].type |= SBYTE; |