Skip to content

Commit 06ff2e9

Browse files
committed
fix dangling token selection
1 parent 8a8ffa0 commit 06ff2e9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/syntax/src/res_scanner.ml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -855,7 +855,7 @@ let rec scan scanner =
855855
Token.Land
856856
| _ ->
857857
next scanner;
858-
Token.Band)
858+
Token.Ampersand)
859859
| '^' -> (
860860
match (peek scanner, peek2 scanner) with
861861
| '^', '^' ->

0 commit comments

Comments
 (0)