From 6b6b9c89a4366f1119d7ce2afcbc1e50db2d8d6e Mon Sep 17 00:00:00 2001 From: Jan Beulich Date: Mon, 3 Feb 2025 11:59:38 +0100 Subject: [PATCH] Epiphany: use is_whitespace() Wherever blanks are permissible in input, tabs ought to be permissible, too. This is particularly relevant when -f is passed to gas (alongside appropriate input). --- gas/config/tc-epiphany.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gas/config/tc-epiphany.c b/gas/config/tc-epiphany.c index b89c8487b16..c8947c8a5f1 100644 --- a/gas/config/tc-epiphany.c +++ b/gas/config/tc-epiphany.c @@ -353,7 +353,7 @@ parse_reglist (const char * s, int * mask) { long value; - while (*s == ' ') + while (is_whitespace (*s)) ++s; /* Parse a list with "," or "}" as limiters. */ @@ -371,7 +371,7 @@ parse_reglist (const char * s, int * mask) return _("register is out of order"); *mask |= regmask; - while (*s==' ') + while (is_whitespace (*s)) ++s; if (*s == '}') -- 2.39.5