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

Message ID 1075786b-f4b8-43e9-9a20-cc309807017e@suse.com
State New
Headers
Series gas: whitespace handling |

Commit Message

Jan Beulich Jan. 27, 2025, 4:16 p.m. UTC
  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.
  

Patch

--- 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 == '}')