new operator 'in' added. It check if an item is member of a list, or if a key is contained in a dictionary

This commit is contained in:
2024-05-18 07:47:41 +02:00
parent 14bb9e942b
commit c39970fa7e
5 changed files with 61 additions and 0 deletions
+2
View File
@@ -99,6 +99,7 @@ const (
SymKwBut
SymKwFunc
SymKwBuiltin
SymKwIn
SymKwInclude
SymKwNil
)
@@ -112,6 +113,7 @@ func init() {
"BUILTIN": SymKwBuiltin,
"BUT": SymKwBut,
"FUNC": SymKwFunc,
"IN": SymKwIn,
"INCLUDE": SymKwInclude,
"NOT": SymKwNot,
"OR": SymKwOr,