[PATCH v2 38/65] NS32k: use is_whitespace()

Jan Beulich jbeulich@suse.com
Mon Jan 27 16:32:11 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-ns32k.c
+++ b/gas/config/tc-ns32k.c
@@ -1097,7 +1097,9 @@ parse (const char *line, int recursive_l
   if (recursive_level <= 0)
     {
       /* Called from md_assemble.  */
-      for (lineptr = line; (*lineptr) != '\0' && (*lineptr) != ' '; lineptr++)
+      for (lineptr = line;
+	   (*lineptr) != '\0' && !is_whitespace (*lineptr);
+	   lineptr++)
 	continue;
 
       c = *lineptr;



More information about the Binutils mailing list