about summary refs log tree commit diff
path: root/lib/Lexer.mll
diff options
context:
space:
mode:
authorMalte Voos <git@mal.tc>2024-06-17 17:41:38 +0200
committerMalte Voos <git@mal.tc>2024-06-17 17:41:38 +0200
commit04d62df9fdd42c603fad7bb1b5e3fb49bf8550c1 (patch)
tree0a11c38a9f7bfad5624f0821b3a7041a9d4ff4d8 /lib/Lexer.mll
parentedcd6c17b873b11b18016c9fe6efbe47576574ae (diff)
downloadtoytt-04d62df9fdd42c603fad7bb1b5e3fb49bf8550c1.tar.gz
toytt-04d62df9fdd42c603fad7bb1b5e3fb49bf8550c1.zip
implement typechecking
Diffstat (limited to 'lib/Lexer.mll')
-rw-r--r--lib/Lexer.mll1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Lexer.mll b/lib/Lexer.mll
index 3f178f5..c33acae 100644
--- a/lib/Lexer.mll
+++ b/lib/Lexer.mll
@@ -16,6 +16,7 @@ rule lex =
   | "->" { ARROW }
   | "*" { ASTERISK }
   | "\\" { BACKSLASH }
+  | "::" { DOUBLE_COLON }
   | ":" { COLON }
   | "," { COMMA }
   | "." { DOT }