diff options
Diffstat (limited to 'gdb/rust-exp.y')
-rw-r--r-- | gdb/rust-exp.y | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/rust-exp.y b/gdb/rust-exp.y index 5d99994..88c6623 100644 --- a/gdb/rust-exp.y +++ b/gdb/rust-exp.y @@ -1515,7 +1515,7 @@ lex_number (void) gdb_assert (subexps[0].rm_eo > 0); if (lexptr[subexps[0].rm_eo - 1] == '.') { - const char *next = skip_spaces_const (&lexptr[subexps[0].rm_eo]); + const char *next = skip_spaces (&lexptr[subexps[0].rm_eo]); if (rust_identifier_start_p (*next) || *next == '.') { |