mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-09-27 20:30:09 +01:00
Drop redundant parameter from ConsumeAndAddCloseSymbol (#6724)
This commit is contained in:
@@ -41,8 +41,7 @@ auto HandleArrayExprComma(Context& context) -> void {
|
||||
|
||||
auto HandleArrayExprFinish(Context& context) -> void {
|
||||
auto state = context.PopState();
|
||||
context.ConsumeAndAddCloseSymbol(*(Lex::TokenIterator(state.token)), state,
|
||||
NodeKind::ArrayExpr);
|
||||
context.ConsumeAndAddCloseSymbol(state, NodeKind::ArrayExpr);
|
||||
}
|
||||
|
||||
} // namespace Carbon::Parse
|
||||
|
||||
Reference in New Issue
Block a user