]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
cris: use is_end_of_stmt()
authorJan Beulich <jbeulich@suse.com>
Fri, 7 Mar 2025 07:10:57 +0000 (08:10 +0100)
committerJan Beulich <jbeulich@suse.com>
Fri, 7 Mar 2025 07:10:57 +0000 (08:10 +0100)
Fix use of is_end_of_line[] directly instead of through the
is_end_of_stmt() macro.

gas/config/tc-cris.c

index c9c16f96745c14873932fe5ff4c4f90d50609e83..22048694f4b8ab31523c1092b2f1f06b2f5169fe 100644 (file)
@@ -2094,7 +2094,7 @@ cris_process_instruction (char *insn_text, struct cris_instruction *out_insnp,
 
              /* As discard_rest_of_line, but without continuing to the
                 next line.  */
-             while (!is_end_of_line[(unsigned char) *input_line_pointer])
+             while (!is_end_of_stmt (*input_line_pointer))
                input_line_pointer++;
              return;
            }