diff options
author | Marc Coquand <marc@mccd.space> | 2023-12-26 12:13:49 -0600 |
---|---|---|
committer | Marc Coquand <marc@mccd.space> | 2023-12-26 12:13:49 -0600 |
commit | 68de927be04607e6573a5439e19449941defb5f8 (patch) | |
tree | ef9ecc704bebaaca9a14966c6617d9d94b3e341c /lib/lexer.mll | |
parent | bd14bbf8cab86547cb20afcb2b29fb0336cbf958 (diff) | |
download | fixgen-68de927be04607e6573a5439e19449941defb5f8.tar.gz fixgen-68de927be04607e6573a5439e19449941defb5f8.tar.bz2 fixgen-68de927be04607e6573a5439e19449941defb5f8.zip |
Fix bug with naming
Diffstat (limited to 'lib/lexer.mll')
-rw-r--r-- | lib/lexer.mll | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/lexer.mll b/lib/lexer.mll index 6e9b975..c6f2b93 100644 --- a/lib/lexer.mll +++ b/lib/lexer.mll @@ -17,10 +17,10 @@ let many_newline = newline+ rule read = parse + | "uuidv4" { UUIDV4 } + | "name" { NAME } + | "int" { INTSYMBOL } | id { IDENTIFIER (Lexing.lexeme lexbuf) } - | "_uuidv4" { UUIDV4 } - | "_name" { NAME } - | "_int" { INTSYMBOL } | "(" { LBRACE } | ")" { RBRACE } | '"' { read_string (Buffer.create 20) lexbuf } |