mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-10-05 11:21:05 +01:00
Drop redundant parameter from ConsumeAndAddCloseSymbol (#6724)
This commit is contained in:
@@ -20,7 +20,7 @@ auto HandleIndexExpr(Context& context) -> void {
|
||||
auto HandleIndexExprFinish(Context& context) -> void {
|
||||
auto state = context.PopState();
|
||||
|
||||
context.ConsumeAndAddCloseSymbol(state.token, state, NodeKind::IndexExpr);
|
||||
context.ConsumeAndAddCloseSymbol(state, NodeKind::IndexExpr);
|
||||
}
|
||||
|
||||
} // namespace Carbon::Parse
|
||||
|
||||
Reference in New Issue
Block a user