aboutsummaryrefslogtreecommitdiff
path: root/lexer.py
diff options
context:
space:
mode:
authormryouse2022-06-17 04:10:10 +0000
committermryouse2022-06-17 04:10:44 +0000
commit91a8c05961831454ba8a2be261cc4f8b762d0e0c (patch)
treecf93fdc033c77af37b96a711d1555db5f912be08 /lexer.py
parentac001ef2808f1209bba815a861c228b3321a71a3 (diff)
variadic functions
Diffstat (limited to 'lexer.py')
-rw-r--r--lexer.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/lexer.py b/lexer.py
index ea4fefb..bce3f51 100644
--- a/lexer.py
+++ b/lexer.py
@@ -34,7 +34,8 @@ keywords = {
"for-count": TokenType.FOR_COUNT,
"|": TokenType.PIPE,
"def": TokenType.DEF,
- "lambda": TokenType.LAMBDA }
+ "lambda": TokenType.LAMBDA,
+ "&": TokenType.MANY }
WHITESPACE = [" ", "\n", "\t"]