[PATCH v2 06/65] aarch64: use is_whitespace()

Jan Beulich jbeulich@suse.com
Mon Jan 27 15:50:52 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).

--- a/gas/config/tc-aarch64.c
+++ b/gas/config/tc-aarch64.c
@@ -634,7 +634,7 @@ const char FLT_CHARS[] = "rRsSfFdDxXeEpP
 
 /* Separator character handling.  */
 
-#define skip_whitespace(str)  do { if (*(str) == ' ') ++(str); } while (0)
+#define skip_whitespace(str)  do { if (is_whitespace (*(str))) ++(str); } while (0)
 
 static inline bool
 skip_past_char (char **str, char c)



More information about the Binutils mailing list