aboutsummaryrefslogtreecommitdiff
path: root/lib/lexer.mll
diff options
context:
space:
mode:
authorMarc Coquand <marc@mccd.space>2023-12-26 13:29:29 -0600
committerMarc Coquand <marc@mccd.space>2023-12-26 13:29:29 -0600
commit4a9b3428fd98e21eaa4d5bc00086f61a0d3d4491 (patch)
treedfaa1dba0ae3074febfc907f03786c86c5271ad6 /lib/lexer.mll
parent68de927be04607e6573a5439e19449941defb5f8 (diff)
downloadfixgen-4a9b3428fd98e21eaa4d5bc00086f61a0d3d4491.tar.gz
fixgen-4a9b3428fd98e21eaa4d5bc00086f61a0d3d4491.tar.bz2
fixgen-4a9b3428fd98e21eaa4d5bc00086f61a0d3d4491.zip
Support more than 1 many-relations
Diffstat (limited to '')
-rw-r--r--lib/lexer.mll1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/lexer.mll b/lib/lexer.mll
index c6f2b93..e2f6469 100644
--- a/lib/lexer.mll
+++ b/lib/lexer.mll
@@ -15,6 +15,7 @@ let id = ['a'-'z' 'A'-'Z' '-']*
let newline = '\r' | '\n' | "\r\n"
let many_newline = newline+
+(* TODO: Support _ and - in identifiers *)
rule read =
parse
| "uuidv4" { UUIDV4 }