diff options
Diffstat (limited to 'gcc/rust/lex/rust-lex.cc')
-rw-r--r-- | gcc/rust/lex/rust-lex.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/rust/lex/rust-lex.cc b/gcc/rust/lex/rust-lex.cc index 107dbad..2d41c11 100644 --- a/gcc/rust/lex/rust-lex.cc +++ b/gcc/rust/lex/rust-lex.cc @@ -1940,7 +1940,7 @@ Lexer::parse_raw_identifier (location_t loc) using namespace Rust::Values; std::set<std::string> invalid{ - Keywords::CRATE, Keywords::EXTERN_TOK, Keywords::SELF, + Keywords::CRATE, Keywords::EXTERN_KW, Keywords::SELF, Keywords::SUPER, Keywords::SELF_ALIAS, }; |