[PATCH 22/34] SH: use is_end_of_stmt()
Jan Beulich
jbeulich@suse.com
Wed Feb 19 15:34:01 GMT 2025
... instead of open-coding it.
--- 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 ();
More information about the Binutils
mailing list