diff --git a/src/Parser/Parser.cpp b/src/Parser/Parser.cpp index 06a562c..891d011 100644 --- a/src/Parser/Parser.cpp +++ b/src/Parser/Parser.cpp @@ -92,6 +92,7 @@ namespace MalachScript::Parser { if (current->GetKind() != LexTokenKind::OpenCurlyParenthesisSymbol) { LogError(Diagnostics::DiagnosticType::UnexpectedToken, current->GetSpan()); } + [[fallthrough]]; // Intentionally don't break so we continue into the inner body statement. } case LexTokenKind::OpenCurlyParenthesisSymbol: {