diff options
Diffstat (limited to 'src/parser.c')
-rw-r--r-- | src/parser.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/parser.c b/src/parser.c index ac4d709..2f592b9 100644 --- a/src/parser.c +++ b/src/parser.c @@ -110,7 +110,6 @@ ast_t *parse_function_args(parser_t *parser) { } ast_t *parse_function(parser_t *parser) { - parser_move(parser); parser_eat(parser, TOKEN_LPAREN); /* TODO: actually write a helper function that also keeps track of the amount of arguments and checks that they are all identifiers.*/ @@ -166,7 +165,6 @@ ast_t *parse_list(parser_t *parser) { cur->cdr = init_ast_pair(NULL, NULL); cur = cur->cdr; first_entry = false; - parser_move(parser); current_token = parser->tokens[parser->i]; } parser_move(parser); |