Skip to content

Commit c6debec

Browse files
committed
Fix #879 for Rocq <= 9.1
1 parent f90cd7e commit c6debec

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/rocq_elpi_vernacular_syntax.mlg

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,8 +84,8 @@ let lookahead_lib_colon kwstate strm =
8484
| Tok.IDENT "lib" ->
8585
(match Gramlib.LStream.peek_nth kwstate 1 strm with
8686
| Tok.KEYWORD ":" -> ()
87-
| _ -> raise streamFail)
88-
| _ -> raise streamFail
87+
| _ -> streamFail ())
88+
| _ -> streamFail ()
8989
[%%else]
9090
let lookahead_lib_colon kwstate strm =
9191
match Gramlib.LStream.peek_nth kwstate 0 strm with

0 commit comments

Comments
 (0)