summary refs log tree commit diff
path: root/src/instruction.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/instruction.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/instruction.c')
-rw-r--r--src/instruction.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/instruction.c b/src/instruction.c
index 72cca6c..4189dd1 100644
--- a/src/instruction.c
+++ b/src/instruction.c
@@ -2,6 +2,7 @@
 #include "instructions.h"
 
 #include <stdbool.h>
+#include <stdio.h>
 
 #include "readchar.h"
 #include "3cl.h"
@@ -30,7 +31,10 @@ struct CCLFrame *ccl_instruction(struct CCL *ccl, struct CCLFrame *frame)
     case '*' : ISSW(add);
     case '~' : ISSW(subtract);
     case '%' : ISSW(reverse);
+    case '=' : ISSW(assign);
+    default  : ISSW(invalid);
     }
 #undef INSW
     return instruction(ccl, frame);
+    puts("aboba");
 }