[binutils-gdb] HP-PA: use is_end_of_stmt()
Jan Beulich
jbeulich@sourceware.org
Fri Mar 7 07:16:25 GMT 2025
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=cfa0b67f9be166930eadecff833a57c6a84b33a2
commit cfa0b67f9be166930eadecff833a57c6a84b33a2
Author: Jan Beulich <jbeulich@suse.com>
Date: Fri Mar 7 08:13:23 2025 +0100
HP-PA: use is_end_of_stmt()
... instead of open-coding it.
Diff:
---
gas/config/tc-hppa.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/gas/config/tc-hppa.c b/gas/config/tc-hppa.c
index 8d6de8d9a37..c2a981eeb21 100644
--- a/gas/config/tc-hppa.c
+++ b/gas/config/tc-hppa.c
@@ -2420,14 +2420,14 @@ pa_chk_field_selector (char **str)
s++;
*str = s;
- if (is_end_of_line [(unsigned char) s[0]])
+ if (is_end_of_stmt (s[0]))
return e_fsel;
else if (s[1] == '\'' || s[1] == '%')
{
name[0] = TOLOWER (s[0]);
name[1] = 0;
}
- else if (is_end_of_line [(unsigned char) s[1]])
+ else if (is_end_of_stmt (s[1]))
return e_fsel;
else if (s[2] == '\'' || s[2] == '%')
{
@@ -2435,7 +2435,7 @@ pa_chk_field_selector (char **str)
name[1] = TOLOWER (s[1]);
name[2] = 0;
}
- else if (is_end_of_line [(unsigned char) s[2]])
+ else if (is_end_of_stmt (s[2]))
return e_fsel;
else if (s[3] == '\'' || s[3] == '%')
{
More information about the Binutils-cvs
mailing list