diff options
author | Preston Pan <preston@nullring.xyz> | 2023-01-03 09:45:40 -0800 |
---|---|---|
committer | Preston Pan <preston@nullring.xyz> | 2023-01-03 09:45:40 -0800 |
commit | b2c539fadfa7ea3eea2e5f7c0c37b5f5f1370c5a (patch) | |
tree | 0f4b9db8c6bf345c9011667c9fbb61393d93a347 /src/include/visitor.h | |
parent | 9f342255a2260480701cc2ac2d0c623d4aba1348 (diff) |
actually evaluates and prints something now!
Diffstat (limited to 'src/include/visitor.h')
-rw-r--r-- | src/include/visitor.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/include/visitor.h b/src/include/visitor.h index 87f2853..6af052b 100644 --- a/src/include/visitor.h +++ b/src/include/visitor.h @@ -10,7 +10,7 @@ typedef struct { ast_t *root; } visitor_t; -void eval_error(visitor_t *v); +void eval_error(visitor_t *v, ast_t *e); visitor_t *init_visitor(ast_t *root); |