diff options
| author | Eugen Wissner <belka@caraus.de> | 2026-07-04 22:29:49 +0200 |
|---|---|---|
| committer | Eugen Wissner <belka@caraus.de> | 2026-07-04 22:29:49 +0200 |
| commit | 265e6d6a27eebbcafbd73f0da76e516a139f21d1 (patch) | |
| tree | fa52c0c4fcf281011987d850102cf6bbfc7f98a2 /boot/ast.cc | |
| parent | e068da3028c1ae30741d2d1ceaca691b71830bfe (diff) | |
| download | elna-265e6d6a27eebbcafbd73f0da76e516a139f21d1.tar.gz | |
Allow empty statements
Diffstat (limited to 'boot/ast.cc')
| -rw-r--r-- | boot/ast.cc | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/boot/ast.cc b/boot/ast.cc index e4c46a4..91b46a4 100644 --- a/boot/ast.cc +++ b/boot/ast.cc @@ -114,6 +114,11 @@ namespace elna::boot not_implemented(); } + void empty_visitor::visit(empty_statement *) + { + not_implemented(); + } + void empty_visitor::visit(case_statement *) { not_implemented(); @@ -702,6 +707,16 @@ namespace elna::boot } } + void empty_statement::accept(parser_visitor *visitor) + { + visitor->visit(this); + } + + empty_statement::empty_statement(const struct position position) + : node(position) + { + } + designator_expression::~designator_expression() { } |
