From: Jan Beulich Date: Mon, 3 Feb 2025 11:16:01 +0000 (+0100) Subject: NS32k: use is_whitespace() X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=7ea01e2546e529c9c14415f6a8edb218dad5df3c;p=thirdparty%2Fbinutils-gdb.git NS32k: 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-ns32k.c b/gas/config/tc-ns32k.c index ba30e247dc1..cf23c9b1fcf 100644 --- a/gas/config/tc-ns32k.c +++ b/gas/config/tc-ns32k.c @@ -1097,7 +1097,9 @@ parse (const char *line, int recursive_level) if (recursive_level <= 0) { /* Called from md_assemble. */ - for (lineptr = line; (*lineptr) != '\0' && (*lineptr) != ' '; lineptr++) + for (lineptr = line; + (*lineptr) != '\0' && !is_whitespace (*lineptr); + lineptr++) continue; c = *lineptr;