about summary refs log tree commit diff
path: root/src/main.c
diff options
context:
space:
mode:
authorNakidai <nakidai@disroot.org>2025-03-23 20:56:47 +0300
committerNakidai <nakidai@disroot.org>2025-03-23 20:56:47 +0300
commit159666bae6cc185a5abac154b85c49406f32f30c (patch)
treea5f424eb11e83dd1831b824229e359583bcc9f5d /src/main.c
parentc74aea420c662039072f606b2d5ef1c73426e481 (diff)
download3cl-159666bae6cc185a5abac154b85c49406f32f30c.tar.gz
3cl-159666bae6cc185a5abac154b85c49406f32f30c.zip
Last time I was here 8 months ago, idk what is this
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main.c b/src/main.c
index 2df5779..3ab2608 100644
--- a/src/main.c
+++ b/src/main.c
@@ -59,6 +59,8 @@ int main(int argc, char **argv)
     char *code = readfile(argv[optind]);
     struct CCL ccl;
     ccl_init(&ccl, code, getch, (void(*)(int))putchar);
+    ccl_exec(&ccl);
     free(code);
     ccl_free(&ccl);
+    return 0;
 }