From cb3065c34756a70cb6006fc25777ce3e720ff1a8 Mon Sep 17 00:00:00 2001
From: Ferenc Szontágh <szf@fsociety.hu>
Date: Sun, 13 Apr 2025 18:16:19 +0000
Subject: [PATCH] implement variable contexts, add function body store and parsing

---
 cli/main.cpp |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/cli/main.cpp b/cli/main.cpp
index 1ec1928..cf15e33 100644
--- a/cli/main.cpp
+++ b/cli/main.cpp
@@ -53,7 +53,7 @@
         ScriptInterpreter interp;
         interp.registerModule("print", std::make_shared<PrintFunction>());
         interp.registerModule("sleep", std::make_shared<SleepFunction>());
-        interp.executeScript(content, filename, DEBUG);
+        interp.executeScript(content, filename, "_default_", false);
     } catch (const std::exception & e) {
         std::cerr << "Parser error: " << e.what() << "\n";
         return 1;

--
Gitblit v1.9.3