Update, multi dimentional arrays.
CI / Optimization Infrastructure Tests (push) Failing after 12s
CI / Unit Tests (push) Failing after 25s
CI / Integration Tests (push) Has been skipped
CI / Performance Benchmark (push) Has been skipped

This commit is contained in:
2025-12-03 14:08:55 +01:00
parent 7c4f92484a
commit a3cad2b743
7 changed files with 301 additions and 21 deletions
+2 -1
View File
@@ -122,7 +122,8 @@ RavaASTNode_t* _rava_parser_parse_class_declaration(RavaParser_t *parser) {
_rava_parser_parse_modifiers(parser, &member_modifiers, &member_modifiers_count);
if (_rava_parser_check(parser, RAVA_TOKEN_IDENTIFIER) &&
strcmp(parser->current_token->lexeme, class_decl->data.class_decl.name) == 0) {
strcmp(parser->current_token->lexeme, class_decl->data.class_decl.name) == 0 &&
parser->peek_token && parser->peek_token->type == RAVA_TOKEN_LPAREN) {
RavaASTNode_t *constructor = rava_ast_node_create(RAVA_AST_CONSTRUCTOR_DECL,
parser->current_token->line,