]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
LoongArch: use is_end_of_stmt()
authorJan Beulich <jbeulich@suse.com>
Fri, 7 Mar 2025 07:13:37 +0000 (08:13 +0100)
committerJan Beulich <jbeulich@suse.com>
Fri, 7 Mar 2025 07:13:37 +0000 (08:13 +0100)
... instead of open-coding it.

gas/config/tc-loongarch.c

index bfc8836ad18673d13c11952dedb5b7db646d0960..78411441634f9af089fdc14f856e9f4d69c67fe4 100644 (file)
@@ -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';