aboutsummaryrefslogtreecommitdiff
path: root/boot/semantic.cc
diff options
context:
space:
mode:
authorEugen Wissner <belka@caraus.de>2026-07-04 22:29:49 +0200
committerEugen Wissner <belka@caraus.de>2026-07-04 22:29:49 +0200
commit265e6d6a27eebbcafbd73f0da76e516a139f21d1 (patch)
treefa52c0c4fcf281011987d850102cf6bbfc7f98a2 /boot/semantic.cc
parente068da3028c1ae30741d2d1ceaca691b71830bfe (diff)
downloadelna-265e6d6a27eebbcafbd73f0da76e516a139f21d1.tar.gz
Allow empty statements
Diffstat (limited to 'boot/semantic.cc')
-rw-r--r--boot/semantic.cc8
1 files changed, 8 insertions, 0 deletions
diff --git a/boot/semantic.cc b/boot/semantic.cc
index 3ccc81b..300c91d 100644
--- a/boot/semantic.cc
+++ b/boot/semantic.cc
@@ -139,6 +139,10 @@ namespace elna::boot
{
}
+ void type_analysis_visitor::visit(empty_statement *)
+ {
+ }
+
void type_analysis_visitor::visit(case_statement *)
{
}
@@ -463,6 +467,10 @@ namespace elna::boot
}
}
+ void name_analysis_visitor::visit(empty_statement *)
+ {
+ }
+
void name_analysis_visitor::visit(case_statement *statement)
{
statement->condition().accept(this);