From c5fa22cf2f3c1fcedba19cf6af25f7ac207f1cc5 Mon Sep 17 00:00:00 2001 From: Jan Beulich Date: Fri, 7 Mar 2025 08:23:53 +0100 Subject: [PATCH] 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. --- gas/config/tc-rl78.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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); -- 2.39.5