diff options
author | Marc Coquand <marc@mccd.space> | 2023-12-26 09:50:20 -0600 |
---|---|---|
committer | Marc Coquand <marc@mccd.space> | 2023-12-26 09:57:20 -0600 |
commit | 9cd7fbf7658793a443ad3a3b03cee4bbace0a0d4 (patch) | |
tree | 7313831ba6ca4f1a141a9f3750bf9f72d0c36365 /lib/lexer.mll | |
parent | 742c23d7c5d90b681dcbce92846d57042d2ea467 (diff) | |
download | fixgen-9cd7fbf7658793a443ad3a3b03cee4bbace0a0d4.tar.gz fixgen-9cd7fbf7658793a443ad3a3b03cee4bbace0a0d4.tar.bz2 fixgen-9cd7fbf7658793a443ad3a3b03cee4bbace0a0d4.zip |
Support setting amount to be generated
Diffstat (limited to 'lib/lexer.mll')
-rw-r--r-- | lib/lexer.mll | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/lexer.mll b/lib/lexer.mll index fed77ab..e0c5453 100644 --- a/lib/lexer.mll +++ b/lib/lexer.mll @@ -21,8 +21,8 @@ rule read = | "_uuidv4" { UUIDV4 } | "_name" { NAME } | "_int" { INTSYMBOL } - | "<" { LBRACE } - | ">" { RBRACE } + | "(" { LBRACE } + | ")" { RBRACE } | int { INT (Lexing.lexeme lexbuf |> int_of_string) } | white { read lexbuf } | ":" { COLON } |