+Thu Aug 5 23:05:56 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
+
+ * config/tc-sh.c (md_assemble): Call as_bad when there are excess
+ operands.
+
1999-08-05 Donn Terry <donn@interix.com>
* config/te-interix.h: New file.
}
else
{
- if (opcode->arg[0] != A_END)
+ if (opcode->arg[0] == A_END)
{
- get_operands (opcode, op_end, operand);
+ /* Ignore trailing whitespace. If there is any, it has already
+ been compressed to a single space. */
+ if (*op_end == ' ')
+ op_end++;
+ }
+ else
+ {
+ op_end = get_operands (opcode, op_end, operand);
}
opcode = get_specific (opcode, operand);
return;
}
+ if (*op_end)
+ as_bad (_("excess operands: '%s'"), op_end);
+
build_Mytes (opcode, operand);
}