aboutsummaryrefslogtreecommitdiff
path: root/lib/Lexer/Lexer.cc
diff options
context:
space:
mode:
author_ov4 <hausemasterstream@gmail.com>2026-01-30 13:28:45 +0000
committer_ov4 <hausemasterstream@gmail.com>2026-01-30 13:28:45 +0000
commit93175ba5edb0eacc182f573c4fd4556f089da305 (patch)
tree0e50d5e0b50d7298dcb50342583fe4b718ccd1c0 /lib/Lexer/Lexer.cc
parentbd799e42b40613983c6e3cb9aedf58866ac68605 (diff)
Added BYREF and BYVAL
Diffstat (limited to 'lib/Lexer/Lexer.cc')
-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 6854cc9..da2e47f 100644
--- a/lib/Lexer/Lexer.cc
+++ b/lib/Lexer/Lexer.cc
@@ -54,6 +54,9 @@ int Lexer::gettok() {
if (IdentifierStr == "RETURN") return tok_return;
if (IdentifierStr == "RETURNS") return tok_returns;
if (IdentifierStr == "CALL") return tok_call;
+
+ if (IdentifierStr == "BYREF") return tok_byref;
+ if (IdentifierStr == "BYVAL") return tok_byval;
return tok_identifier;
}