aboutsummaryrefslogtreecommitdiff
path: root/lib/lexer.mll
diff options
context:
space:
mode:
authorMarc Coquand <marc@mccd.space>2023-12-26 15:46:04 -0600
committerMarc Coquand <marc@mccd.space>2023-12-26 15:46:04 -0600
commitc75ab6042f40f9101e88d41c1d41b5e41c3f12ef (patch)
treed21b6771833e07b6f4b6cb58c4fbce109485d7c8 /lib/lexer.mll
parent508c7c9b34a892d74d087f1ef5d54d16fa000551 (diff)
downloadfixgen-c75ab6042f40f9101e88d41c1d41b5e41c3f12ef.tar.gz
fixgen-c75ab6042f40f9101e88d41c1d41b5e41c3f12ef.tar.bz2
fixgen-c75ab6042f40f9101e88d41c1d41b5e41c3f12ef.zip
Add increment type
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 b4e26d8..e733666 100644
--- a/lib/lexer.mll
+++ b/lib/lexer.mll
@@ -20,6 +20,7 @@ rule read =
parse
| "uuidv4" { UUIDV4 }
| "name" { NAME }
+ | "increment" { INCREMENT }
| "int" { INTSYMBOL }
| id { IDENTIFIER (Lexing.lexeme lexbuf) }
| "(" { LBRACE }