Skip to content

Commit

Permalink
feat(array): Added the arrays expressions (not 100% ready).
Browse files Browse the repository at this point in the history
  • Loading branch information
natangscalvence committed Jan 23, 2025
1 parent b0910ee commit 828b281
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/frontend/parser/expressions/parse_assignment_expr.c
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ AstNode *parse_assignment_expr(Parser *parser) {

switch (current_token(parser).type) {
case TOKEN_OBRACE: value = parse_object_expr(parser);
case TOKEN_CBRACKET: value = parse_object_expr(parser);
default: value = parse_ternary_expr(parser);
}

Expand Down

0 comments on commit 828b281

Please sign in to comment.