mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-10-03 22:02:51 +01:00
Add support for empty declarations. (#2467)
This commit is contained in:
@@ -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