Fixed typo

This commit is contained in:
Stefan 2025-05-02 16:48:56 +02:00 committed by GitHub
parent 12e832ebd3
commit d358c8359b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -5529,7 +5529,7 @@ InterCodeGenerator::ExValue InterCodeGenerator::TranslateExpression(Declaration*
} }
case EX_AGGREGATE: case EX_AGGREGATE:
mErrors->Error(exp->mLocation, EERR_INVALID_INITIALIZER, "Unexpected aggreate"); mErrors->Error(exp->mLocation, EERR_INVALID_INITIALIZER, "Unexpected aggregate");
return ExValue(TheVoidTypeDeclaration); return ExValue(TheVoidTypeDeclaration);
case EX_SWITCH: case EX_SWITCH: