Convert ISSPACE() uses. At the same time use is_end_of_stmt() instead
of kind-of-open-coded checks in adjacent code.
char *f;
int fc, i;
- while (ISSPACE (*str))
+ while (is_whitespace (*str))
str++;
/* Gather the operands. */
}
}
- while (ISSPACE (*str))
+ while (is_whitespace (*str))
str++;
/* Check for tls instruction marker. */
char *s;
/* Get the opcode. */
- for (s = str; *s != '\0' && ! ISSPACE (*s); s++)
+ for (s = str; ! is_end_of_stmt (*s) && ! is_whitespace (*s); s++)
;
if (*s != '\0')
*s++ = '\0';
/* Get the opcode format. */
s = input_line_pointer;
- while (*s != '\0' && *s != ',' && ! ISSPACE (*s))
+ while (! is_end_of_stmt (*s) && *s != ',' && ! is_whitespace (*s))
s++;
if (*s != ',')
as_bad (_("Invalid .insn format\n"));