[binutils-gdb] LoongArch: use is_end_of_stmt()
Jan Beulich
jbeulich@sourceware.org
Fri Mar 7 07:16:30 GMT 2025
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=980171ec6df6ff84c4bae0a0a87b85aa88f4b7e6
commit 980171ec6df6ff84c4bae0a0a87b85aa88f4b7e6
Author: Jan Beulich <jbeulich@suse.com>
Date: Fri Mar 7 08:13:37 2025 +0100
LoongArch: use is_end_of_stmt()
... instead of open-coding it.
Diff:
---
gas/config/tc-loongarch.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gas/config/tc-loongarch.c b/gas/config/tc-loongarch.c
index bfc8836ad18..78411441634 100644
--- 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-cvs
mailing list