]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
aarch64: use is_whitespace()
authorJan Beulich <jbeulich@suse.com>
Mon, 3 Feb 2025 10:50:30 +0000 (11:50 +0100)
committerJan Beulich <jbeulich@suse.com>
Mon, 3 Feb 2025 10:50:30 +0000 (11:50 +0100)
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).

gas/config/tc-aarch64.c

index 122ff49ca1aea61241a4a71b1e7891cb72a7e85e..ff40726ba75fd2c2421e1b356b821f7b56012c2f 100644 (file)
@@ -634,7 +634,7 @@ const char FLT_CHARS[] = "rRsSfFdDxXeEpPhHb";
 
 /* 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)