* tc_d10v.c (find_opcode): Allow ATSIGN to match expressions of the
[external/binutils.git] / gas / config / tc-d10v.c
index 7161a6b..4549a95 100644 (file)
@@ -1314,7 +1314,7 @@ find_opcode (opcode, myops)
                  ((flags & OPERAND_PLUS)    && ((X_op != O_absent) || (num != OPERAND_PLUS))) ||
                  ((flags & OPERAND_ATMINUS) && ((X_op != O_absent) || (num != OPERAND_ATMINUS))) ||
                  ((flags & OPERAND_ATPAR)   && ((X_op != O_absent) || (num != OPERAND_ATPAR))) ||
-                 ((flags & OPERAND_ATSIGN)  && ((X_op != O_absent) || (num != OPERAND_ATSIGN))))
+                 ((flags & OPERAND_ATSIGN)  && ((X_op != O_absent) || ((num != OPERAND_ATSIGN) && (num != OPERAND_ATPAR)))))
                {
                  match = 0;
                  break;