From 558e0191ba5a5b0ab99825de7d7d2219387e559e Mon Sep 17 00:00:00 2001
From: Ferenc Szontágh <szf@fsociety.hu>
Date: Sat, 19 Apr 2025 18:36:42 +0000
Subject: [PATCH] constats variable type implementation
---
src/Parser/Parser.hpp | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/src/Parser/Parser.hpp b/src/Parser/Parser.hpp
index 0acedf7..14d07a3 100644
--- a/src/Parser/Parser.hpp
+++ b/src/Parser/Parser.hpp
@@ -100,6 +100,9 @@
// parseStatement (updated to handle return)
void parseStatement();
+ // Parse a top-level constant variable definition (e.g., const <type> $name = expr;)
+ void parseConstVariableDefinition();
+ // Parse a top-level variable definition (e.g., <type> $name = expr;)
void parseVariableDefinition();
void parseFunctionDefinition();
// Parse a top-level function call statement (e.g., foo(arg1, arg2);)
--
Gitblit v1.9.3