From: Jan Beulich Date: Mon, 3 Feb 2025 10:50:30 +0000 (+0100) Subject: aarch64: use is_whitespace() X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=a51c80b8ed1f6bfe1244f02df2edf56720d79b23;p=thirdparty%2Fbinutils-gdb.git aarch64: use is_whitespace() 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). --- diff --git a/gas/config/tc-aarch64.c b/gas/config/tc-aarch64.c index 122ff49ca1a..ff40726ba75 100644 --- a/gas/config/tc-aarch64.c +++ b/gas/config/tc-aarch64.c @@ -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)