From 346507f767d71c69e55b9f663449eb39e1bc7e54 Mon Sep 17 00:00:00 2001 From: Preston Pan Date: Thu, 5 Jan 2023 12:11:33 -0800 Subject: lists evaluate for non built-in functions --- src/include/ast.h | 2 ++ src/include/stack.h | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) (limited to 'src/include') diff --git a/src/include/ast.h b/src/include/ast.h index a5095e1..c99564d 100644 --- a/src/include/ast.h +++ b/src/include/ast.h @@ -50,4 +50,6 @@ ast_t *init_ast_symbol(char *value); ast_t *init_ast_function(ast_t *car, ast_t *cdr); ast_t *init_ast_root(ast_t **subnodes, int size); + +void ast_type_print(ast_t *e); #endif diff --git a/src/include/stack.h b/src/include/stack.h index e8047c8..5a58f0b 100644 --- a/src/include/stack.h +++ b/src/include/stack.h @@ -6,7 +6,7 @@ typedef struct { int cur; } stack_t; -stack_t *init_stack(int ht_size); +stack_t *init_stack(); void stack_push(stack_t *s, hash_table_t *h); -- cgit