[binutils-gdb] pru: use is_end_of_stmt()

Jan Beulich jbeulich@sourceware.org
Fri Mar 7 07:19:24 GMT 2025


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

commit f1ffe6e3893bcda2d4a5d070d388607ab3857216
Author: Jan Beulich <jbeulich@suse.com>
Date:   Fri Mar 7 08:16:53 2025 +0100

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

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

diff --git a/gas/config/tc-pru.c b/gas/config/tc-pru.c
index 2e9d8e5463e..70a4e76e9b3 100644
--- a/gas/config/tc-pru.c
+++ b/gas/config/tc-pru.c
@@ -423,7 +423,7 @@ s_pru_set (int equiv)
      trying a directive.  This prevents
      us from polluting the name space.  */
   SKIP_WHITESPACE ();
-  if (is_end_of_line[(unsigned char) *input_line_pointer])
+  if (is_end_of_stmt (*input_line_pointer))
     {
       bool done = true;
       *endline = 0;


More information about the Binutils-cvs mailing list