[binutils-gdb] C4x: use is_end_of_stmt()

Jan Beulich jbeulich@sourceware.org
Fri Mar 7 07:23:06 GMT 2025


https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=f3921d412218b577fb6856dd3044823a466c3098

commit f3921d412218b577fb6856dd3044823a466c3098
Author: Jan Beulich <jbeulich@suse.com>
Date:   Fri Mar 7 08:20:27 2025 +0100

    C4x: use is_end_of_stmt()
    
    ... instead of open-coding it.

Diff:
---
 gas/config/tc-tic4x.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gas/config/tc-tic4x.c b/gas/config/tc-tic4x.c
index d7d31ab9558..97a088c2673 100644
--- a/gas/config/tc-tic4x.c
+++ b/gas/config/tc-tic4x.c
@@ -1010,7 +1010,7 @@ tic4x_sect (int x ATTRIBUTE_UNUSED)
      recognised and scanning extends into the next line, stopping with
      an error (blame Volker Kuhlmann <v.kuhlmann@elec.canterbury.ac.nz>
      if this is not true).  */
-  if (is_end_of_line[(unsigned char) c])
+  if (is_end_of_stmt (c))
     *(--input_line_pointer) = c;
 
   demand_empty_rest_of_line ();


More information about the Binutils-cvs mailing list