From e398a47fc9ef8ded356c56b5739808ce1192e3d2 Mon Sep 17 00:00:00 2001
From: Ferenc Szontágh <szf@fsociety.hu>
Date: Fri, 18 Apr 2025 05:37:07 +0000
Subject: [PATCH] fix syntax, add expected to errors
---
README.md | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/README.md b/README.md
index d9a4cc3..3651d73 100644
--- a/README.md
+++ b/README.md
@@ -30,7 +30,7 @@
string name = "VoidScript";
// Functions
-function $add(int $a, double $b, string $help) {
+function add = (int $a, double $b, string $help) {
int $result = $a + $b;
print("The sum is: ", $result, "\n");
print("Help: ", $help, "\n");
--
Gitblit v1.9.3