From df361ede5e694c41095d7be4eabf86d0ee6a1162 Mon Sep 17 00:00:00 2001
From: Ferenc Szontágh <szf@fsociety.hu>
Date: Fri, 18 Apr 2025 09:53:43 +0000
Subject: [PATCH] fix function parameter parser

---
 test_scripts/function_test.vs |    7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diff --git a/test_scripts/function_test.vs b/test_scripts/function_test.vs
index 6f344b0..4afec4e 100644
--- a/test_scripts/function_test.vs
+++ b/test_scripts/function_test.vs
@@ -5,7 +5,9 @@
 string $variable2 = $variable;
 
 function test = (int $i) {
+    print("Param: ",$i);
     int $result = $i + 1;
+    print("The result is: ", $result);
 }
 
 function increment = (int $i) int {
@@ -13,4 +15,7 @@
 }
 
 
-increment(1);
\ No newline at end of file
+test(1);
+
+int $t = increment(2);
+print("The result is: ", $t);
\ No newline at end of file

--
Gitblit v1.9.3