From: Jan Beulich Date: Fri, 7 Mar 2025 07:14:59 +0000 (+0100) Subject: MMIX: use is_end_of_stmt() X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=0714ea7824e4399efc185964371f6c66ae328612;p=thirdparty%2Fbinutils-gdb.git MMIX: use is_end_of_stmt() ... instead of open-coding it. --- diff --git a/gas/config/tc-mmix.c b/gas/config/tc-mmix.c index 3715790348c..76a06188535 100644 --- a/gas/config/tc-mmix.c +++ b/gas/config/tc-mmix.c @@ -725,7 +725,7 @@ static void mmix_discard_rest_of_line (void) { while (*input_line_pointer - && (! is_end_of_line[(unsigned char) *input_line_pointer] + && (! is_end_of_stmt (*input_line_pointer) || TC_EOL_IN_INSN (input_line_pointer))) input_line_pointer++; } @@ -2065,7 +2065,7 @@ s_greg (int unused ATTRIBUTE_UNUSED) if (c == '"') c = * ++ input_line_pointer; - if (! is_end_of_line[(unsigned char) c]) + if (! is_end_of_stmt (c)) input_line_pointer++; if (*p)