diff options
| author | Nakidai <nakidai@disroot.org> | 2025-03-23 21:11:13 +0300 |
|---|---|---|
| committer | Nakidai <nakidai@disroot.org> | 2025-03-23 21:11:13 +0300 |
| commit | ad9d6a199db7c28f8b20f131dfb55a26e0e251de (patch) | |
| tree | e5bb112cd902d9c09f5ad79ce98ba8a315d20bbb /src/instruction/increment.c | |
| parent | 159666bae6cc185a5abac154b85c49406f32f30c (diff) | |
| download | 3cl-ad9d6a199db7c28f8b20f131dfb55a26e0e251de.tar.gz 3cl-ad9d6a199db7c28f8b20f131dfb55a26e0e251de.zip | |
Again...
Diffstat (limited to 'src/instruction/increment.c')
| -rw-r--r-- | src/instruction/increment.c | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/src/instruction/increment.c b/src/instruction/increment.c deleted file mode 100644 index d2d51a5..0000000 --- a/src/instruction/increment.c +++ /dev/null @@ -1,11 +0,0 @@ -#include "3cl.h" - -#include "utils.h" - -struct CCLFrame *ccl_instruction_increment(struct CCL *ccl, struct CCLFrame *frame) -{ - if (ccl->stack.cur < 1) - die(1, "stack size is %d (%d required)", ccl->stack.cur, 1); - ++ccl->stack.stack[ccl->stack.cur]; - return frame; -} |