aboutsummaryrefslogtreecommitdiff
path: root/gcc/rust/util/rust-token-converter.cc
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/rust/util/rust-token-converter.cc')
-rw-r--r--gcc/rust/util/rust-token-converter.cc18
1 files changed, 9 insertions, 9 deletions
diff --git a/gcc/rust/util/rust-token-converter.cc b/gcc/rust/util/rust-token-converter.cc
index 537bca3..41f8105 100644
--- a/gcc/rust/util/rust-token-converter.cc
+++ b/gcc/rust/util/rust-token-converter.cc
@@ -134,10 +134,10 @@ convert (const std::vector<const_TokenPtr> &tokens)
case DO:
case DYN:
case ELSE:
- case ENUM_TOK:
- case EXTERN_TOK:
- case FINAL_TOK:
- case FN_TOK:
+ case ENUM_KW:
+ case EXTERN_KW:
+ case FINAL_KW:
+ case FN_KW:
case FOR:
case IF:
case IMPL:
@@ -145,19 +145,19 @@ convert (const std::vector<const_TokenPtr> &tokens)
case LET:
case LOOP:
case MACRO:
- case MATCH_TOK:
+ case MATCH_KW:
case MOD:
case MOVE:
case MUT:
- case OVERRIDE_TOK:
+ case OVERRIDE_KW:
case PRIV:
case PUB:
case REF:
- case RETURN_TOK:
+ case RETURN_KW:
case SELF_ALIAS:
case SELF:
- case STATIC_TOK:
- case STRUCT_TOK:
+ case STATIC_KW:
+ case STRUCT_KW:
case SUPER:
case TRAIT:
case TRY: