mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-10-04 22:02:52 +01:00
Drop redundant parameter from ConsumeAndAddCloseSymbol (#6724)
This commit is contained in:
@@ -156,7 +156,7 @@ auto HandleStatementForHeaderIn(Context& context) -> void {
|
||||
auto HandleStatementForHeaderFinish(Context& context) -> void {
|
||||
auto state = context.PopState();
|
||||
|
||||
context.ConsumeAndAddCloseSymbol(state.token, state, NodeKind::ForHeader);
|
||||
context.ConsumeAndAddCloseSymbol(state, NodeKind::ForHeader);
|
||||
|
||||
context.PushState(StateKind::CodeBlock);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user