From: Jan Beulich Date: Fri, 7 Mar 2025 07:13:50 +0000 (+0100) Subject: IQ2000: use is_end_of_stmt() X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=81fa16bf3a70ec7d55ed79d81405ff0f4d781edc;p=thirdparty%2Fbinutils-gdb.git IQ2000: use is_end_of_stmt() ... instead of open-coding it. --- diff --git a/gas/config/tc-iq2000.c b/gas/config/tc-iq2000.c index c65f264528f..1957235dfc8 100644 --- a/gas/config/tc-iq2000.c +++ b/gas/config/tc-iq2000.c @@ -682,7 +682,7 @@ s_iq2000_set (int x ATTRIBUTE_UNUSED) char *name = input_line_pointer, ch; char *save_ILP = input_line_pointer; - while (!is_end_of_line[(unsigned char) *input_line_pointer]) + while (!is_end_of_stmt (*input_line_pointer)) input_line_pointer++; ch = *input_line_pointer; *input_line_pointer = '\0'; @@ -803,7 +803,7 @@ s_iq2000_end (int x ATTRIBUTE_UNUSED) symbolS *p; int maybe_text; - if (!is_end_of_line[(unsigned char) *input_line_pointer]) + if (!is_end_of_stmt (*input_line_pointer)) { p = get_symbol (); demand_empty_rest_of_line ();