aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorA404M <ahmadmahmoudiprogrammer@gmail.com>2025-06-10 00:41:29 +0330
committerA404M <ahmadmahmoudiprogrammer@gmail.com>2025-06-10 00:41:29 +0330
commitf6c029cd8842e13069cbd01d2dccc9093f97b8c1 (patch)
tree9504833badf7e8f5d63e784bda3ab55cd0137ca7 /src
parenta839ff6229f4ae1415dddd5995781acb4bb599e1 (diff)
removing debug logs
Diffstat (limited to 'src')
-rw-r--r--src/runner/runner.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/runner/runner.c b/src/runner/runner.c
index 21ece80..dcfda79 100644
--- a/src/runner/runner.c
+++ b/src/runner/runner.c
@@ -1707,7 +1707,6 @@ AstTree *runExpression(AstTree *expr, AstTreeScope *scope, bool *shouldRet,
}
AstTree *type =
copyAstTree((AstTreeSingleChild *)operand->type->metadata);
- printLog("%s", AST_TREE_TOKEN_STRINGS[type->token]);
AstTreeRawValue *value = *(void **)operand->metadata;
astTreeDelete(operand);
return newAstTree(AST_TREE_TOKEN_RAW_VALUE_NOT_OWNED, value, type, NULL,
@@ -1803,8 +1802,6 @@ AstTree *runExpression(AstTree *expr, AstTreeScope *scope, bool *shouldRet,
}
size_t index = 0;
AstTreeStruct *type = tree->type->metadata;
- printLog("%s %s", AST_TREE_TOKEN_STRINGS[tree->type->token],
- AST_TREE_TOKEN_STRINGS[metadata->object->token]);
for (size_t i = 0; i < metadata->member.index; ++i) {
index += getSizeOfType(type->variables.data[i]->type);
}