Skip to content

Commit

Permalink
reconstruct identifier: handle ()
Browse files Browse the repository at this point in the history
  • Loading branch information
voodoos committed Nov 17, 2023
1 parent a8d04f1 commit 359f745
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/ocaml/preprocess/lexer_ident.mll
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@ rule token = parse
{ UIDENT ident }
| "`" { BACKQUOTE }
| "'" { QUOTE }
| "()" { LIDENT "()"}
| "(" { LPAREN }
| ")" { RPAREN }
| "." { DOT }
Expand Down

0 comments on commit 359f745

Please sign in to comment.