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

gas/config/tc-tic4x.c

index d7d31ab955874620a44873c8f0253fc75f4eddc3..97a088c2673ea562c80f1dff88505ec30ebb825f 100644 (file)
@@ -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 ();