diff options
Diffstat (limited to 'opcodes/nds32-asm.c')
-rw-r--r-- | opcodes/nds32-asm.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/opcodes/nds32-asm.c b/opcodes/nds32-asm.c index 9a63291..406cc7c 100644 --- a/opcodes/nds32-asm.c +++ b/opcodes/nds32-asm.c @@ -2270,7 +2270,8 @@ retry_dot: pinsn->opcode = opc; if (opc == NULL) { - pdesc->result = NASM_ERR_SYNTAX; + if (pdesc->result == NASM_OK) + pdesc->result = NASM_ERR_SYNTAX; goto out; } |