diff options
| author | ov-4 <hausemasterstream@gmail.com> | 2026-01-29 14:24:05 +0000 |
|---|---|---|
| committer | ov-4 <hausemasterstream@gmail.com> | 2026-01-29 14:24:05 +0000 |
| commit | 943ed04b775949e8bc4948bcb8d762a32ab14f76 (patch) | |
| tree | 5c8d09bcd702558e1fba25e176712a1697a6c7e7 /lib/Lexer/Lexer.cc | |
| parent | 4573880fcc32bd76a72a4ae713190cd997194583 (diff) | |
Added array
Diffstat (limited to 'lib/Lexer/Lexer.cc')
| -rw-r--r-- | lib/Lexer/Lexer.cc | 3 |
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; } |
