Skip to content

Commit

Permalink
mod(function names): Function names changed Name of functions 'at', '…
Browse files Browse the repository at this point in the history
…eat' and 'next' changed for better readability in the code.
  • Loading branch information
natangscalvence committed Dec 14, 2024
1 parent 94570ab commit 34cc2ec
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/frontend/parser/expressions/parse_nested_ternary_expr.c
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
#include "frontend/parser/expressions/parse_nested_ternary_expr.h"

AstNode *parse_nested_ternary_expr(Parser *parser) {
if (at(parser).type == TOKEN_OPAREN) {
eat(parser);
if (current_token(parser).type == TOKEN_OPAREN) {
consume_token(parser);

AstNode *expr = parse_ternary_expr(parser);

Expand Down

0 comments on commit 34cc2ec

Please sign in to comment.