diff options
author | Jan Beulich <jbeulich@suse.com> | 2024-10-14 14:37:29 +0200 |
---|---|---|
committer | Jan Beulich <jbeulich@suse.com> | 2024-10-14 14:37:29 +0200 |
commit | b03815327ab1bc34b1784455ca56c2b626cf5794 (patch) | |
tree | 1e1698c20ad3bf2241c31afebf528d5324ce292a /gas/dw2gencfi.c | |
parent | gdb: make frame_unwind_try_unwinder return bool (diff) | |
download | binutils-gdb-b03815327ab1bc34b1784455ca56c2b626cf5794.tar.gz binutils-gdb-b03815327ab1bc34b1784455ca56c2b626cf5794.tar.bz2 binutils-gdb-b03815327ab1bc34b1784455ca56c2b626cf5794.zip |
gas: drop SKIP_WHITESPACE_AFTER_NAME()
Exclusively all users should use restore_line_pointer() instead, at
which point SKIP_WHITESPACE() suffices as a check afterwards.
Diffstat (limited to 'gas/dw2gencfi.c')
-rw-r--r-- | gas/dw2gencfi.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gas/dw2gencfi.c b/gas/dw2gencfi.c index ca7605e7928..14b73ef33c5 100644 --- a/gas/dw2gencfi.c +++ b/gas/dw2gencfi.c @@ -1245,8 +1245,8 @@ dot_cfi_sections (int ignored ATTRIBUTE_UNUSED) break; } - *input_line_pointer = c; - SKIP_WHITESPACE_AFTER_NAME (); + restore_line_pointer (c); + SKIP_WHITESPACE (); if (*input_line_pointer == ',') { name = input_line_pointer++; |