about summary refs log tree commit diff
path: root/cccl.c
diff options
context:
space:
mode:
authorNakidai <nakidai@disroot.org>2025-03-25 16:22:45 +0300
committerNakidai <nakidai@disroot.org>2025-03-25 16:22:45 +0300
commit017ec3b6dc3e1badd9bb9505029802c6f6986c4b (patch)
treeb01e284a7aea1852632f6220c2cac11712d4254b /cccl.c
parent2d5f634d0d28a0762835afa01dd1e9eb212e4803 (diff)
download3cl-017ec3b6dc3e1badd9bb9505029802c6f6986c4b.tar.gz
3cl-017ec3b6dc3e1badd9bb9505029802c6f6986c4b.zip
Add some cool features
- I absolutely forgot about # and :, but now fortunately it's a fixed
  problem
- Add -d flag so 3cl will dump its state after executing
Diffstat (limited to 'cccl.c')
-rw-r--r--cccl.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/cccl.c b/cccl.c
index 234fa7e..cd952d1 100644
--- a/cccl.c
+++ b/cccl.c
@@ -16,4 +16,6 @@ void cccl(struct cccl_File file)
 
     struct cccl_Variables scope = {0};
     cccl_execute(parsed, &scope, 0);
+    if (dump)
+        cccl_dump();
 }