aboutsummaryrefslogtreecommitdiff
path: root/include/cps/Lexer.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/cps/Lexer.h')
-rw-r--r--include/cps/Lexer.h12
1 files changed, 11 insertions, 1 deletions
diff --git a/include/cps/Lexer.h b/include/cps/Lexer.h
index 0ad5609..b5ab37c 100644
--- a/include/cps/Lexer.h
+++ b/include/cps/Lexer.h
@@ -13,7 +13,17 @@ enum Token {
tok_identifier = -6,
tok_number = -7,
tok_assign = -8, // <-
- tok_colon = -9 // :
+ tok_colon = -9, // :
+
+ tok_if = -10,
+ tok_then = -11,
+ tok_else = -12,
+ tok_endif = -13,
+
+ tok_eq = -20, // =
+ tok_ne = -21, // <>
+ tok_le = -22, // <=
+ tok_ge = -23 // >=
};
class Lexer {