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

index d91ca5fa0830559a326036810b5b447882b771d9..5b1db29b5059e44cb533a565c6e0367d42e8331a 100644 (file)
@@ -1939,7 +1939,8 @@ bfin_eol_in_insn (char *line)
 
   /* If the || is on the next line, there might be leading whitespace.  */
   temp++;
-  while (*temp == ' ' || *temp == '\t') temp++;
+  while (is_whitespace (*temp))
+    temp++;
 
   if (*temp == '|')
     return true;