s++;
}
}
- if (*s != ' ' && *s != ',' && *s != '\0')
+ if (!is_whitespace (*s) && *s != ',' && !is_end_of_stmt (*s))
return 0;
input_line_pointer = s;
return 1;
/* Find mnemonic (second part of parallel instruction). */
s = str;
/* Skip past instruction mnemonic. */
- while (*s && *s != ' ')
+ while (!is_end_of_stmt (*s) && !is_whitespace (*s))
s++;
if (*s) /* Null terminate for str_hash_find. */
*s++ = '\0'; /* and skip past null. */
{
/* Find mnemonic. */
s = str;
- while (*s && *s != ' ') /* Skip past instruction mnemonic. */
+ while (!is_end_of_stmt (*s) && !is_whitespace (*s)) /* Skip past instruction mnemonic. */
s++;
if (*s) /* Null terminate for str_hash_find. */
*s++ = '\0'; /* and skip past null. */