diff options
author | Tom Tromey <tom@tromey.com> | 2022-01-26 15:39:03 -0700 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2022-02-06 13:24:25 -0700 |
commit | a723766c0e2cc4e8d53813f90f1167e620da0784 (patch) | |
tree | df2381918760793f58aff764dd8612de819d6b3c /multilib.am | |
parent | c1f5e54825e4ac2d64b267578fd87409e0ea901c (diff) | |
download | binutils-a723766c0e2cc4e8d53813f90f1167e620da0784.zip binutils-a723766c0e2cc4e8d53813f90f1167e620da0784.tar.gz binutils-a723766c0e2cc4e8d53813f90f1167e620da0784.tar.bz2 |
Allow non-ASCII characters in Rust identifiers
Rust 1.53 (quite a while ago now) ungated the support for non-ASCII
identifiers. This didn't work in gdb. This is PR rust/20166.
This patch fixes the problem by allowing non-ASCII characters to be
considered as identifier components. It seemed simplest to just pass
them through -- doing any extra checking didn't seem worthwhile.
The new test also verifies that such characters are allowed in strings
and character literals as well. The latter also required a bit of
work in the lexer.
Bug: https://sourceware.org/bugzilla/show_bug.cgi?id=20166
Diffstat (limited to 'multilib.am')
0 files changed, 0 insertions, 0 deletions