From: Jan Beulich Date: Fri, 7 Mar 2025 07:23:53 +0000 (+0100) Subject: rl78: drop redundant statement separator check X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=c5fa22cf2f3c1fcedba19cf6af25f7ac207f1cc5;p=thirdparty%2Fbinutils-gdb.git rl78: drop redundant statement separator check With the switch to the use of is_end_of_stmt() in 2dd0370c433d ("rl78: use is_whitespace()") the open-coded checking against line_separator_chars[] can be dropped. --- diff --git a/gas/config/tc-rl78.c b/gas/config/tc-rl78.c index 7492d3ccb3c..6d24bc3ecb5 100644 --- a/gas/config/tc-rl78.c +++ b/gas/config/tc-rl78.c @@ -431,8 +431,7 @@ require_end_of_expr (const char *fname) if (is_end_of_stmt (* input_line_pointer) || * input_line_pointer == ',' || strchr (comment_chars, * input_line_pointer) - || strchr (line_comment_chars, * input_line_pointer) - || strchr (line_separator_chars, * input_line_pointer)) + || strchr (line_comment_chars, * input_line_pointer)) return; as_bad (_("%%%s() must be outermost term in expression"), fname);