diff options
author | Carlos Maniero <carlos@maniero.me> | 2023-05-02 23:45:55 -0300 |
---|---|---|
committer | Johnny Richard <johnny@johnnyrichard.com> | 2023-05-03 22:59:03 +0200 |
commit | d97cdd9e84879d8fc3adf4bcf5c130f498e95b79 (patch) | |
tree | 26b71c45f9ecb40be1cab4b855c155320e1538b0 /src/parser.h | |
parent | e255b793d66441097955163e3abb8f5d68ed54ba (diff) |
parser: Parser allocate memory for expressions
Signed-off-by: Carlos Maniero <carlos@maniero.me>
Diffstat (limited to 'src/parser.h')
-rw-r--r-- | src/parser.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/parser.h b/src/parser.h index 27feb17..ef5dff5 100644 --- a/src/parser.h +++ b/src/parser.h @@ -43,7 +43,7 @@ parser_init(parser_t *parser, lexer_t *lexer, scope_t *scope); ast_node_t * parser_parse_function_declaration(parser_t *parser); -bool -parser_parse_expression(parser_t *parser, ast_node_t *node); +ast_node_t * +parser_parse_expression(parser_t *parser); #endif /* PARSER_H */ |