[binutils-gdb] C30: use is_whitespace()
Jan Beulich
jbeulich@sourceware.org
Mon Feb 3 11:27:05 GMT 2025
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=429b58ab66c3e09a234eeebeb78a3dfb7ef70205
commit 429b58ab66c3e09a234eeebeb78a3dfb7ef70205
Author: Jan Beulich <jbeulich@suse.com>
Date: Mon Feb 3 12:24:48 2025 +0100
C30: use is_whitespace()
Convert an open-coded check.
Diff:
---
gas/config/tc-tic30.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gas/config/tc-tic30.c b/gas/config/tc-tic30.c
index 21efe8a6d50..6aad8f891cb 100644
--- a/gas/config/tc-tic30.c
+++ b/gas/config/tc-tic30.c
@@ -180,7 +180,7 @@ md_begin (void)
if (ISALPHA (c) || c == '_' || c == '.' || ISDIGIT (c))
identifier_chars[c] = c;
- if (c == ' ' || c == '\t')
+ if (is_whitespace (c))
space_chars[c] = c;
if (c == '_')
More information about the Binutils-cvs
mailing list