[PATCH 12/34] LoongArch: use is_end_of_stmt()
Jan Beulich
jbeulich@suse.com
Wed Feb 19 15:27:51 GMT 2025
... instead of open-coding it.
--- a/gas/config/tc-loongarch.c
+++ b/gas/config/tc-loongarch.c
@@ -600,7 +600,7 @@ static void
s_loongarch_option (int x ATTRIBUTE_UNUSED)
{
char *name = input_line_pointer, ch;
- 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';
More information about the Binutils
mailing list