/* Set register pair base. */
if ((strchr (operandS,'(') != NULL))
{
- while ((*operandE != '(') && (! ISSPACE (*operandE)))
+ while ((*operandE != '(') && (! is_whitespace (*operandE)))
operandE++;
if ((cur_arg->rp = get_index_register_pair (operandE)) == nullregister)
as_bad (_("Illegal register pair `%s' in Instruction `%s'"),
continue;
}
- if (*operandT == ' ')
+ if (is_whitespace (*operandT))
as_bad (_("Illegal operands (whitespace): `%s'"), ins_parse);
if (*operandT == '(')
switch (*p)
{
case ',':
- case ' ':
case 'i':
case 'u':
case 'd':
break;
default:
+ if (is_whitespace (*p))
+ break;
as_bad (_("Illegal `cinv' parameter: `%c'"), *p);
}
}
reset_vars (op);
/* Strip the mnemonic. */
- for (param = op; *param != 0 && !ISSPACE (*param); param++)
+ for (param = op; *param != 0 && !is_whitespace (*param); param++)
;
*param++ = '\0';