[v2,07/65] avr: use is_whitespace()

Message ID f3617733-4df3-4060-938a-ea604f9d7b1e@suse.com
State New
Headers
Series gas: whitespace handling |

Commit Message

Jan Beulich Jan. 27, 2025, 4:06 p.m. UTC
  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).
---
v2: New.
  

Patch

--- a/gas/config/tc-avr.c
+++ b/gas/config/tc-avr.c
@@ -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;
 }