diff options
author | A404M <ahmadmahmoudiprogrammer@gmail.com> | 2025-04-11 14:01:12 +0330 |
---|---|---|
committer | A404M <ahmadmahmoudiprogrammer@gmail.com> | 2025-04-11 14:01:12 +0330 |
commit | 399256ab6f75b364773c299847ad2c57a96a7c41 (patch) | |
tree | 9219a6311305771c0af1e5ef776d627ece4c9c5f /src/runner/runner.c | |
parent | 3a4f7672a416a29fe528c01321858beea9781f47 (diff) |
implement function overloading
Diffstat (limited to 'src/runner/runner.c')
-rw-r--r-- | src/runner/runner.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/runner/runner.c b/src/runner/runner.c index 818f21a..57d10fa 100644 --- a/src/runner/runner.c +++ b/src/runner/runner.c @@ -754,7 +754,8 @@ AstTree *runExpression(AstTree *expr, bool *shouldRet, bool isLeft) { right->type == &AST_TREE_I8_TYPE) { doOperation(left, right, %, AstTreeInt, i8); } else { - printError(expr->str_begin, expr->str_end, "Not supported"); + printError(expr->str_begin, expr->str_end, "Not supported %s", + AST_TREE_TOKEN_STRINGS[right->type->token]); UNREACHABLE; } astTreeDelete(right); |