about summary refs log tree commit diff
path: root/lib/Lexer.mll
diff options
context:
space:
mode:
authorMalte Voos <git@mal.tc>2024-06-23 01:36:48 +0200
committerMalte Voos <git@mal.tc>2024-06-23 01:36:48 +0200
commit8d40541003736d5319ec981278338e8c8c66daf6 (patch)
treee595d0055af42b6a9d84e504befbe114a8cef5e2 /lib/Lexer.mll
parent36762e83887b6f917df46c5e40a11d53b697209d (diff)
downloadtoytt-8d40541003736d5319ec981278338e8c8c66daf6.tar.gz
toytt-8d40541003736d5319ec981278338e8c8c66daf6.zip
keep track of bound names everywhere to be able to output names instead of de bruijn indices
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 c33acae..98d1d6b 100644
--- a/lib/Lexer.mll
+++ b/lib/Lexer.mll
@@ -21,6 +21,7 @@ rule lex =
   | "," { COMMA }
   | "." { DOT }
   | "=>" { FATARROW }
+  | "_" { UNDERSCORE }
   | "at" { AT }
   | "fst" { FST }
   | "snd" { SND }