aboutsummaryrefslogtreecommitdiff
path: root/gcc/rust/lex/rust-token.cc
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/rust/lex/rust-token.cc')
-rw-r--r--gcc/rust/lex/rust-token.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/gcc/rust/lex/rust-token.cc b/gcc/rust/lex/rust-token.cc
index 485128b..77ec6cf 100644
--- a/gcc/rust/lex/rust-token.cc
+++ b/gcc/rust/lex/rust-token.cc
@@ -35,7 +35,7 @@ get_token_description (TokenId id)
#undef RS_TOKEN_KEYWORD
#undef RS_TOKEN
default:
- gcc_unreachable ();
+ rust_unreachable ();
}
}
@@ -54,7 +54,7 @@ token_id_to_str (TokenId id)
#undef RS_TOKEN_KEYWORD
#undef RS_TOKEN
default:
- gcc_unreachable ();
+ rust_unreachable ();
}
}
@@ -85,13 +85,13 @@ token_id_keyword_string (TokenId id)
static const std::string str (str_ptr); \
return str; \
} \
- gcc_unreachable ();
+ rust_unreachable ();
#define RS_TOKEN(a, b)
RS_TOKEN_LIST
#undef RS_TOKEN_KEYWORD
#undef RS_TOKEN
default:
- gcc_unreachable ();
+ rust_unreachable ();
}
}