mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-10-03 22:02:51 +01:00
Rename StateStackEntry to State (#5256)
Also clean up `State` -> `StateKind` in the toolchain docs, which was missed in #5249.
This commit is contained in:
@@ -19,8 +19,8 @@ auto HandleOnlyParenExpr(Context& context) -> void {
|
||||
context.PushState(StateKind::Expr);
|
||||
}
|
||||
|
||||
static auto FinishParenExpr(Context& context,
|
||||
const Context::StateStackEntry& state) -> void {
|
||||
static auto FinishParenExpr(Context& context, const Context::State& state)
|
||||
-> void {
|
||||
context.AddNode(NodeKind::ParenExpr, context.Consume(), state.has_error);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user