aboutsummaryrefslogtreecommitdiff
path: root/lib/lexer.mll
diff options
context:
space:
mode:
authorMarc Coquand <marc@mccd.space>2023-12-26 18:26:40 -0600
committerMarc Coquand <marc@mccd.space>2023-12-26 18:26:40 -0600
commit664b34059624d525d38da3e9e452a4bfc190a585 (patch)
treeef5558d350640e7ee206994559bbd1d87dad135d /lib/lexer.mll
parent6c39f6ebc688c1ed751c08e7cc11016148cd3ce7 (diff)
downloadfixgen-664b34059624d525d38da3e9e452a4bfc190a585.tar.gz
fixgen-664b34059624d525d38da3e9e452a4bfc190a585.tar.bz2
fixgen-664b34059624d525d38da3e9e452a4bfc190a585.zip
Add support for username
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 ad3be3c..1985c2d 100644
--- a/lib/lexer.mll
+++ b/lib/lexer.mll
@@ -21,6 +21,7 @@ rule read =
| "email" { EMAIL }
| "name" { NAME }
| "increment" { INCREMENT }
+ | "username" { USERNAME }
| "int" { INTSYMBOL }
| id { IDENTIFIER (Lexing.lexeme lexbuf) }
| "(" { LBRACE }