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

index 5976e58dd3353a7ccfbb58872b30e41e8526f0e8..c98ba867d2cfb497b0237595f20e14a2279e6cd5 100644 (file)
@@ -618,7 +618,7 @@ show_mcu_list (FILE *stream)
 static inline char *
 skip_space (char *s)
 {
-  while (*s == ' ' || *s == '\t')
+  while (is_whitespace (*s))
     ++s;
   return s;
 }