From e2ed23b168c20b97a3d08a9ec357866ec32c6a8e Mon Sep 17 00:00:00 2001 From: SIGMazer Date: Mon, 17 Feb 2025 20:44:00 +0200 Subject: [PATCH] fix(runtime): access undefine pointer Signed-off-by: SIGMazer --- ast.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ast.c b/ast.c index 539bd0f..3c21251 100644 --- a/ast.c +++ b/ast.c @@ -3473,7 +3473,7 @@ void handle_return_statement(ASTNode *expr) } // skibidi main function do not have jump buffer - if (CURRENT_JUMP_BUFFER()){ + if (jump_buffer){ exit_scope(); // exit current function scope LONGJMP(); }