If it looks like one but not a valid one, give a better
error. */
p = input_line_pointer;
- while (*p != ']' && !is_end_of_line[(unsigned char) *p])
+ while (*p != ']' && !is_end_of_stmt (*p))
p++;
if (*p != ']')
return 0;
char *rq = q + 2;
skip_whitespace (rq);
- if (is_end_of_line[(unsigned char) *rq] || *rq == ',')
+ if (is_end_of_stmt (*rq) || *rq == ',')
{
op->form = TIC6X_OP_FUNC_UNIT;
op->value.func_unit.base = base;
char *rq = q + 3;
skip_whitespace (rq);
- if (is_end_of_line[(unsigned char) *rq] || *rq == ',')
+ if (is_end_of_stmt (*rq) || *rq == ',')
{
op->form = TIC6X_OP_IRP;
operand_parsed = true;
char *rq = q + 3;
skip_whitespace (rq);
- if (is_end_of_line[(unsigned char) *rq] || *rq == ',')
+ if (is_end_of_stmt (*rq) || *rq == ',')
{
op->form = TIC6X_OP_NRP;
operand_parsed = true;
char *rq = q + len;
skip_whitespace (rq);
- if (is_end_of_line[(unsigned char) *rq] || *rq == ',')
+ if (is_end_of_stmt (*rq) || *rq == ',')
{
op->form = TIC6X_OP_CTRL;
op->value.ctrl = crid;
if (mem_ok)
{
skip_whitespace (mq);
- if (!is_end_of_line[(unsigned char) *mq] && *mq != ',')
+ if (!is_end_of_stmt (*mq) && *mq != ',')
mem_ok = false;
}
if (reg_ok)
{
skip_whitespace (rq);
- if (is_end_of_line[(unsigned char) *rq] || *rq == ',')
+ if (is_end_of_stmt (*rq) || *rq == ',')
{
if ((second_reg.num & 1)
|| (first_reg.num != second_reg.num + 1)
else if (op_forms & TIC6X_OP_REG)
{
skip_whitespace (rq);
- if (is_end_of_line[(unsigned char) *rq] || *rq == ',')
+ if (is_end_of_stmt (*rq) || *rq == ',')
{
op->form = TIC6X_OP_REG;
op->value.reg = first_reg;
/* Now the operand has been parsed, there must be nothing more
before the comma or end of line. */
skip_whitespace (q);
- if (!is_end_of_line[(unsigned char) *q] && *q != ',')
+ if (!is_end_of_stmt (*q) && *q != ',')
{
operand_parsed = false;
as_bad (_("junk after operand %u of '%.*s'"), opno,
opc_len, str);
- while (!is_end_of_line[(unsigned char) *q] && *q != ',')
+ while (!is_end_of_stmt (*q) && *q != ',')
q++;
}
}
break;
}
- while (!is_end_of_line[(unsigned char) *q] && *q != ',')
+ while (!is_end_of_stmt (*q) && *q != ',')
q++;
}
*p = q;
while (true)
{
skip_whitespace (p);
- if (is_end_of_line[(unsigned char) *p])
+ if (is_end_of_stmt (*p))
{
if (num_operands_read > 0)
{
bad_operands = true;
num_operands_read++;
- if (is_end_of_line[(unsigned char) *p])
+ if (is_end_of_stmt (*p))
break;
else if (*p == ',')
{