From cd2113594d001c665c40612f7991df1c93dd1575 Mon Sep 17 00:00:00 2001 From: Kayne Ruse Date: Tue, 12 Nov 2024 22:23:34 +1100 Subject: [PATCH] Fixed a call when using print keyword --- repl/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/repl/main.c b/repl/main.c index d88b9a9..ffdcbb1 100644 --- a/repl/main.c +++ b/repl/main.c @@ -461,7 +461,7 @@ static void debugScopePrint(Toy_Scope* scope, int depth) { //main file int main(int argc, const char* argv[]) { - Toy_setPrintCallback(noOpCallback); + Toy_setPrintCallback(printCallback); Toy_setErrorCallback(errorAndExitCallback); Toy_setAssertFailureCallback(errorAndExitCallback);