aboutsummaryrefslogtreecommitdiff
path: root/include/cps/Lexer.h
diff options
context:
space:
mode:
author_ov4 <hausemasterstream@gmail.com>2026-01-30 13:11:20 +0000
committer_ov4 <hausemasterstream@gmail.com>2026-01-30 13:11:20 +0000
commitbd799e42b40613983c6e3cb9aedf58866ac68605 (patch)
tree03fdd0dffba45fa2a1d9b8d4b0e78f49140c07e5 /include/cps/Lexer.h
parent80420b0f92f42edc0a3cac4490a08adb8b2457dc (diff)
Added FUNCTION and PROCEDURE
Diffstat (limited to 'include/cps/Lexer.h')
-rw-r--r--include/cps/Lexer.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/include/cps/Lexer.h b/include/cps/Lexer.h
index ccbda98..cd34435 100644
--- a/include/cps/Lexer.h
+++ b/include/cps/Lexer.h
@@ -41,7 +41,15 @@ enum Token {
tok_le = -203, // <=
tok_ge = -204, // >=
- tok_colon = -300 // :
+ tok_colon = -300, // :
+
+ tok_function = -400,
+ tok_endfunction = -401,
+ tok_return = -402,
+ tok_returns = -403,
+ tok_procedure = -404,
+ tok_endprocedure = -405,
+ tok_call = -406
};
class Lexer {