From 9e0005e248a26cb8f8ecc5138756a9157bf899b5 Mon Sep 17 00:00:00 2001 From: A404M Date: Sat, 14 Jun 2025 13:46:46 +0330 Subject: fix some bugs implemented another raylib example --- src/runner/runner.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/runner') 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 #include -#include #include +#include #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; -- cgit v1.2.3