[v2,59/65] wasm32: use is_whitespace()

Message ID 9d81a565-a2ba-4e1d-8b0b-87bb21b63d62@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:43 p.m. UTC
  Convert an open-coded check.
---
v2: New.
  

Patch

--- a/gas/config/tc-wasm32.c
+++ b/gas/config/tc-wasm32.c
@@ -229,7 +229,7 @@  md_apply_fix (fixS * fixP, valueT * valP
 static inline char *
 skip_space (char *s)
 {
-  while (*s == ' ' || *s == '\t')
+  while (is_whitespace (*s))
     ++s;
   return s;
 }