From 68693bb7b71bb5721bdda9dc16948b750ea71065 Mon Sep 17 00:00:00 2001
From: Ferenc Szontágh <szf@fsociety.hu>
Date: Fri, 18 Apr 2025 19:00:42 +0000
Subject: [PATCH] fix object accessing

---
 src/Lexer/Operators.cpp |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/Lexer/Operators.cpp b/src/Lexer/Operators.cpp
index 0a34433..bf2cadc 100644
--- a/src/Lexer/Operators.cpp
+++ b/src/Lexer/Operators.cpp
@@ -8,7 +8,7 @@
 const std::vector<std::string> OPERATOR_LOGICAL    = { "&&", "||" };
 
 const std::vector<std::string> OPERATOR_ARITHMETIC = { "+", "-", "*", "/", "%", "!" };
-const std::vector<std::string> PUNCTUATION         = { "(", ")", "{", "}", "[", "]", ",", ";", ":" };
+const std::vector<std::string> PUNCTUATION         = { "(", ")", "{", "}", "[", "]", ",", ";", ":", "->" };
 
 bool contains(const std::vector<std::string> & vec, const std::string & value) {
     return std::find(vec.begin(), vec.end(), value) != vec.end();

--
Gitblit v1.9.3