diff options
author | Cyrill Gorcunov <gorcunov@gmail.com> | 2016-11-28 23:57:08 +0300 |
---|---|---|
committer | Cyrill Gorcunov <gorcunov@gmail.com> | 2016-11-29 01:17:33 +0300 |
commit | fd610f27d6814b321b2d4420d23cf43664abcaf0 (patch) | |
tree | e683f1796eef8ff73055ec4e4275b44bef384276 /asm/parser.c | |
parent | 7294d62040b399c80f7755279fd5b5633d468f34 (diff) | |
download | nasm-fd610f27d6814b321b2d4420d23cf43664abcaf0.tar.gz |
asm/parser.c -- Fix typo in testing for register
It should be EXPR_REG_END referred when testing
for register present.
A typo in 472a7c1d17e0212b3cbf5302a9f5cdb358be4425
https://bugzilla.nasm.us/show_bug.cgi?id=3392375
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
Diffstat (limited to 'asm/parser.c')
-rw-r--r-- | asm/parser.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/asm/parser.c b/asm/parser.c index a20ef943..7b4cc5cb 100644 --- a/asm/parser.c +++ b/asm/parser.c @@ -390,7 +390,7 @@ static int value_to_extop(expr * vect, extop *eop, int32_t myseg) if (!vect->value) /* zero term, safe to ignore */ continue; - if (vect->type < EXPR_SIMPLE) /* false if a register is present */ + if (vect->type <= EXPR_REG_END) /* false if a register is present */ return -1; if (vect->type == EXPR_UNKNOWN) /* something we can't resolve yet */ |