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

Richard Earnshaw (lists) Richard.Earnshaw@arm.com
Mon Jan 27 16:31:35 GMT 2025


On 27/01/2025 15:50, Jan Beulich wrote:
> 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)
> 

OK.

R.


More information about the Binutils mailing list