mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-10-05 22:02:55 +01:00
Rename Lex::{Token,Line} -> Lex::{Token,Line}Index. (#3433)
As discussed [on discord](https://discord.com/channels/655572317891461132/655578254970716160/1178878128714678282) and today's toolchain discussion.
This commit is contained in:
@@ -8,7 +8,8 @@ namespace Carbon::Parse {
|
||||
|
||||
// Handles VarAs(Decl|For).
|
||||
static auto HandleVar(Context& context, State finish_state,
|
||||
Lex::Token returned_token = Lex::Token::Invalid) -> void {
|
||||
Lex::TokenIndex returned_token = Lex::TokenIndex::Invalid)
|
||||
-> void {
|
||||
auto state = context.PopState();
|
||||
|
||||
// The finished variable declaration will start at the `var` or `returned`.
|
||||
|
||||
Reference in New Issue
Block a user