summaryrefslogtreecommitdiff
path: root/read.c
diff options
context:
space:
mode:
Diffstat (limited to 'read.c')
-rw-r--r--read.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/read.c b/read.c
index 0fa6c47..5620607 100644
--- a/read.c
+++ b/read.c
@@ -14,6 +14,7 @@ AstNode read() {
}
int main() {
- for(;;) printf("%d\n",eval(read()));
+ Ht e = ht_new();
+ for (;;) printf("%d\n",eval(&e, read()));
}