summaryrefslogtreecommitdiff
path: root/read.c
diff options
context:
space:
mode:
authorubq323 <ubq323@ubq323.website>2023-07-29 22:22:23 +0100
committerubq323 <ubq323@ubq323.website>2023-07-29 22:22:23 +0100
commitc83618999227adb5e745f92205bd48e076e2d124 (patch)
treeebd862d08180fb49bdec90b553b21c89c43467fb /read.c
parentf9f7b92fdda17efe2dca455d6f641a424a97b2db (diff)
th
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()));
}