[PATCH v2 17/65] Epiphany: use is_whitespace()

Jan Beulich jbeulich@suse.com
Mon Jan 27 16:16:29 GMT 2025


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).
---
v2: New.

--- a/gas/config/tc-epiphany.c
+++ b/gas/config/tc-epiphany.c
@@ -353,7 +353,7 @@ parse_reglist (const char * s, int * mas
     {
       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 * mas
 	return _("register is out of order");
       *mask |= regmask;
 
-      while (*s==' ')
+      while (is_whitespace (*s))
 	++s;
 
       if (*s == '}')



More information about the Binutils mailing list