Skip to content

Commit

Permalink
Fixed a call when using print keyword
Browse files Browse the repository at this point in the history
  • Loading branch information
Ratstail91 committed Nov 12, 2024
1 parent be7e4dd commit cd21135
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion repl/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit cd21135

Please sign in to comment.