Add support for empty declarations. (#2467)

This commit is contained in:
Jon Ross-Perkins authored and GitHub committed 2022-12-13 14:32:37 -08:00
1 parent 493eb75e7f
commit 773a82f995
2 files changed
+27 -2

No files matched your search

@@ -221,8 +221,10 @@ auto SemanticsParseTreeHandler::HandleDesignatorExpression(
}
auto SemanticsParseTreeHandler::HandleEmptyDeclaration(
ParseTree::Node /*parse_node*/) -> void {
CARBON_FATAL() << "TODO";
ParseTree::Node parse_node) -> void {
// Empty declarations have no actions associated, but we still balance the
// tree.
Push(parse_node);
}
auto SemanticsParseTreeHandler::HandleExpressionStatement(