aboutsummaryrefslogtreecommitdiff
path: root/lib/Lexer
diff options
context:
space:
mode:
authorov-4 <hausemasterstream@gmail.com>2026-01-29 14:24:05 +0000
committerov-4 <hausemasterstream@gmail.com>2026-01-29 14:24:05 +0000
commit943ed04b775949e8bc4948bcb8d762a32ab14f76 (patch)
tree5c8d09bcd702558e1fba25e176712a1697a6c7e7 /lib/Lexer
parent4573880fcc32bd76a72a4ae713190cd997194583 (diff)
Added array
Diffstat (limited to 'lib/Lexer')
-rw-r--r--lib/Lexer/Lexer.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/Lexer/Lexer.cc b/lib/Lexer/Lexer.cc
index 7f7a167..fdaa3a5 100644
--- a/lib/Lexer/Lexer.cc
+++ b/lib/Lexer/Lexer.cc
@@ -39,6 +39,9 @@ int Lexer::gettok() {
if (IdentifierStr == "STEP") return tok_step;
if (IdentifierStr == "NEXT") return tok_next;
+ if (IdentifierStr == "ARRAY") return tok_array;
+ if (IdentifierStr == "OF") return tok_of;
+
return tok_identifier;
}