[v2,52/65] C30: use is_whitespace()

Message ID 6cead684-90ec-4917-86b2-fa3f8feca9d1@suse.com
State New
Headers
Series gas: whitespace handling |

Checks

Context Check Description
linaro-tcwg-bot/tcwg_binutils_build--master-arm success Build passed
linaro-tcwg-bot/tcwg_binutils_check--master-arm success Test passed
linaro-tcwg-bot/tcwg_binutils_build--master-aarch64 success Build passed
linaro-tcwg-bot/tcwg_binutils_check--master-aarch64 success Test passed

Commit Message

Jan Beulich Jan. 27, 2025, 4:39 p.m. UTC
  Convert an open-coded check.
---
v2: New.
  

Patch

--- 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 == '_')