aboutsummaryrefslogtreecommitdiff
path: root/lib/lexer.mll
diff options
context:
space:
mode:
authorMarc Coquand <marc@mccd.space>2023-12-26 12:13:49 -0600
committerMarc Coquand <marc@mccd.space>2023-12-26 12:13:49 -0600
commit68de927be04607e6573a5439e19449941defb5f8 (patch)
treeef9ecc704bebaaca9a14966c6617d9d94b3e341c /lib/lexer.mll
parentbd14bbf8cab86547cb20afcb2b29fb0336cbf958 (diff)
downloadfixgen-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.mll6
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 }