aboutsummaryrefslogtreecommitdiff
path: root/src/runner
diff options
context:
space:
mode:
authorA404M <ahmadmahmoudiprogrammer@gmail.com>2025-06-14 13:46:46 +0330
committerA404M <ahmadmahmoudiprogrammer@gmail.com>2025-06-14 13:46:46 +0330
commit9e0005e248a26cb8f8ecc5138756a9157bf899b5 (patch)
tree57dfaaf88701a6397f17f552587aef7edd16ba76 /src/runner
parent4f0e7d81333f0e5f5cf3c5ff6c88bfed9648962b (diff)
fix some bugs
implemented another raylib example
Diffstat (limited to 'src/runner')
-rw-r--r--src/runner/runner.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/runner/runner.c b/src/runner/runner.c
index f376710..c9f2dd1 100644
--- a/src/runner/runner.c
+++ b/src/runner/runner.c
@@ -7,8 +7,8 @@
#include "utils/type.h"
#include <dlfcn.h>
#include <ffi.h>
-#include <stdio.h>
#include <memory.h>
+#include <stdio.h>
#define doOperation(op0, op1, operator, originalType, type) \
*((originalType *)(op0)->metadata) = \
@@ -1284,6 +1284,7 @@ AstTree *runAstTreeCFunction(AstTree *tree, AstTree **arguments,
[((AstTreeSingleChild *)arguments[i]->type->metadata)->token]);
UNREACHABLE;
} else if (arguments[i]->token != AST_TREE_TOKEN_RAW_VALUE) {
+ printLog("%s", AST_TREE_TOKEN_STRINGS[arguments[i]->type->token]);
UNREACHABLE;
}
values[i] = arguments[i]->metadata;