[PATCH 17/34] MMIX: use is_end_of_stmt()
Jan Beulich
jbeulich@suse.com
Wed Feb 19 15:31:25 GMT 2025
More information about the Binutils mailing list
Wed Feb 19 15:31:25 GMT 2025
- Previous message (by thread): [PATCH 16/34] MIPS: use is_end_of_stmt()
- Next message (by thread): [PATCH 18/34] PPC: use is_end_of_stmt()
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
... instead of open-coding it.
--- 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)
- Previous message (by thread): [PATCH 16/34] MIPS: use is_end_of_stmt()
- Next message (by thread): [PATCH 18/34] PPC: use is_end_of_stmt()
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Binutils mailing list