[binutils-gdb] Alpha: use is_end_of_stmt()
Jan Beulich
jbeulich@sourceware.org
Fri Mar 7 07:12:58 GMT 2025
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=74838eae6b5aa80baca522baad6038ea0cbe4f80
commit 74838eae6b5aa80baca522baad6038ea0cbe4f80
Author: Jan Beulich <jbeulich@suse.com>
Date: Fri Mar 7 08:10:23 2025 +0100
Alpha: use is_end_of_stmt()
... instead of open-coding it. Note that writes to the array need to be
left alone; they can only be converted when the array is folded into
lex_type[].
Diff:
---
gas/config/tc-alpha.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gas/config/tc-alpha.c b/gas/config/tc-alpha.c
index fdd5db7f299..b39a7c850c3 100644
--- a/gas/config/tc-alpha.c
+++ b/gas/config/tc-alpha.c
@@ -4138,7 +4138,7 @@ s_alpha_usepv (int unused ATTRIBUTE_UNUSED)
sym = symbol_find_or_make (name);
name_end = restore_line_pointer (name_end);
- if (! is_end_of_line[(unsigned char) name_end])
+ if (! is_end_of_stmt (name_end))
input_line_pointer++;
if (name_end != ',')
More information about the Binutils-cvs
mailing list