[PATCH 07/34] cris: use is_end_of_stmt()

Jan Beulich jbeulich@suse.com
Wed Feb 19 15:23:51 GMT 2025


... instead of open-coding it.

--- a/gas/config/tc-cris.c
+++ b/gas/config/tc-cris.c
@@ -2094,7 +2094,7 @@ cris_process_instruction (char *insn_tex
 
 	      /* 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;
 	    }



More information about the Binutils mailing list