]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
Alpha: use is_end_of_stmt()
authorJan Beulich <jbeulich@suse.com>
Fri, 7 Mar 2025 07:10:23 +0000 (08:10 +0100)
committerJan Beulich <jbeulich@suse.com>
Fri, 7 Mar 2025 07:10:23 +0000 (08:10 +0100)
... 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[].

gas/config/tc-alpha.c

index fdd5db7f299ac6c89164cebb0bcefa8a8e21cd07..b39a7c850c36d5b635a349a5cc37d69053c4f18f 100644 (file)
@@ -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 != ',')