mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-09-24 22:02:23 +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:
@@ -374,8 +374,7 @@ auto HandleExprLoop(Context& context) -> void {
|
||||
}
|
||||
|
||||
// Adds the operator node and returns the main expression loop.
|
||||
static auto HandleExprLoopForOperator(Context& context,
|
||||
Context::StateStackEntry state,
|
||||
static auto HandleExprLoopForOperator(Context& context, Context::State state,
|
||||
NodeKind node_kind) -> void {
|
||||
context.AddNode(node_kind, state.token, state.has_error);
|
||||
state.has_error = false;
|
||||
|
||||
Reference in New Issue
Block a user