Skip to content

Commit 5cedc3c

Browse files
committed
1 parent 35988a2 commit 5cedc3c

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

src/Parsers/BaseTypes.v

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -80,9 +80,12 @@ Section recursive_descent_parser.
8080
: production_carrierT -> String -> nat -> nat -> list nat }.
8181

8282
Class boolean_parser_dataT :=
83-
{ predata :> parser_computational_predataT;
84-
split_data :> split_dataT }.
85-
83+
{ predata : parser_computational_predataT;
84+
split_data : split_dataT }.
85+
(* Use :> and remove the following lines,
86+
once Coq 8.16 is the minimum required version. *)
87+
#[export] Existing Instance predata.
88+
#[export] Existing Instance split_data.
8689
Global Coercion predata : boolean_parser_dataT >-> parser_computational_predataT.
8790
Global Coercion split_data : boolean_parser_dataT >-> split_dataT.
8891
End recursive_descent_parser.

0 commit comments

Comments
 (0)