From 6cc2945c1d1e6ca7bad0542c79de423df5e2db8b Mon Sep 17 00:00:00 2001
From: Ferenc Szontágh <szf@fsociety.hu>
Date: Fri, 18 Apr 2025 18:13:29 +0000
Subject: [PATCH] implements object type
---
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 5fd9f81..0a34433 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