Rename StateStackEntry to State (#5256)

Also clean up `State` -> `StateKind` in the toolchain docs, which was
missed in #5249.
This commit is contained in:
Geoff Romer
2025-04-07 18:58:41 +00:00
committed by GitHub
parent a45dc42d82
commit 87f0e9723f
10 changed files with 45 additions and 53 deletions
+1 -2
View File
@@ -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;