diff options
author | Jan Beulich <jbeulich@suse.com> | 2025-02-03 11:59:38 +0100 |
---|---|---|
committer | Jan Beulich <jbeulich@suse.com> | 2025-02-03 11:59:38 +0100 |
commit | 6b6b9c89a4366f1119d7ce2afcbc1e50db2d8d6e (patch) | |
tree | 9aae70b44f219330db6975c6ceb3e2b23a564a8c | |
parent | f96763060e67efffbf177ddb1aa01fc735dc827f (diff) | |
download | binutils-6b6b9c89a4366f1119d7ce2afcbc1e50db2d8d6e.zip binutils-6b6b9c89a4366f1119d7ce2afcbc1e50db2d8d6e.tar.gz binutils-6b6b9c89a4366f1119d7ce2afcbc1e50db2d8d6e.tar.bz2 |
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).
-rw-r--r-- | gas/config/tc-epiphany.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gas/config/tc-epiphany.c b/gas/config/tc-epiphany.c index b89c848..c8947c8 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 == '}') |