]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
pru: use is_end_of_stmt()
authorJan Beulich <jbeulich@suse.com>
Fri, 7 Mar 2025 07:16:53 +0000 (08:16 +0100)
committerJan Beulich <jbeulich@suse.com>
Fri, 7 Mar 2025 07:16:53 +0000 (08:16 +0100)
... instead of open-coding it.

gas/config/tc-pru.c

index 2e9d8e5463e0a5e026e68709a2142e2cd80d4446..70a4e76e9b3adba4640c0a7879fee3f0d341622e 100644 (file)
@@ -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;