mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-11-15 09:48:32 +00: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:
1 parent
a45dc42d82
commit
87f0e9723f
10 files changed
+45
-53
No files matched your search
@@ -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