Add an else to the case statement

This commit is contained in:
2025-04-11 15:28:43 +02:00
parent f68667d5e5
commit 6fd1bda112
6 changed files with 173 additions and 169 deletions

View File

@ -230,9 +230,9 @@ namespace elna::boot
statement->accept(this);
}
}
if (statement->alternative() != nullptr)
if (statement->alternative != nullptr)
{
for (struct statement *const statement : *statement->alternative())
for (struct statement *const statement : *statement->alternative)
{
statement->accept(this);
}