From: Jan Beulich Date: Fri, 7 Mar 2025 07:17:43 +0000 (+0100) Subject: SH: use is_end_of_stmt() X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=80276495890268e786d0a822ee622b7a633f0cc1;p=thirdparty%2Fbinutils-gdb.git SH: use is_end_of_stmt() ... instead of open-coding it. --- diff --git a/gas/config/tc-sh.c b/gas/config/tc-sh.c index 850e8382b72..db11939a350 100644 --- a/gas/config/tc-sh.c +++ b/gas/config/tc-sh.c @@ -452,7 +452,7 @@ sh_elf_cons (int nbytes) input_line_pointer--; /* Put terminator back into stream. */ if (*input_line_pointer == '#' || *input_line_pointer == '!') { - while (! is_end_of_line[(unsigned char) *input_line_pointer++]); + while (! is_end_of_stmt (*input_line_pointer++)); } else demand_empty_rest_of_line ();