summaryrefslogtreecommitdiff
path: root/src/runner/runner.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/runner/runner.c')
-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 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);