mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-11-18 07:11:08 +00:00
Add support for empty declarations. (#2467)
This commit is contained in:
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(
|
||||
|
||||
Reference in new issue
Block a user