mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-11-19 02:10:34 +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
@@ -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