mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-11-18 20:00:29 +00:00
Start node stack push/pop setting IdT based on ParseNodeKind. (#2985)
I think there's more we can do here, but this seemed like a good checkpoint to make sure the path I'm going down is roughly what you expected. There's one actual edit in if expression structure to match the increased enforcement.
This commit is contained in:
1 parent
c0d18a62eb
commit
9751b4701d
16 files changed
+167
-66
No files matched your search
@@ -17,7 +17,7 @@ auto SemanticsHandleCodeBlockStart(SemanticsContext& context,
|
||||
auto SemanticsHandleCodeBlock(SemanticsContext& context,
|
||||
ParseTree::Node /*parse_node*/) -> bool {
|
||||
context.PopScope();
|
||||
context.node_stack().PopForSoloParseNode(ParseNodeKind::CodeBlockStart);
|
||||
context.node_stack().PopForSoloParseNode<ParseNodeKind::CodeBlockStart>();
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user