@@ -82,7 +82,7 @@ module Stanza = struct
8282 ; menhir_flags : Ordered_set_lang.Unexpanded .t option
8383 ; odoc : Odoc .t
8484 ; js_of_ocaml : Ordered_set_lang.Unexpanded .t Js_of_ocaml.Env .t
85- ; coq : Ordered_set_lang.Unexpanded .t
85+ ; coq : Coq_env .t
8686 ; format_config : Format_config .t option
8787 ; error_on_use : User_message .t option
8888 ; warn_on_load : User_message .t option
@@ -123,7 +123,7 @@ module Stanza = struct
123123 && Option. equal Inline_tests. equal inline_tests t.inline_tests
124124 && Option. equal Ordered_set_lang.Unexpanded. equal menhir_flags t.menhir_flags
125125 && Odoc. equal odoc t.odoc
126- && Ordered_set_lang.Unexpanded . equal coq t.coq
126+ && Coq_env . equal coq t.coq
127127 && Option. equal Format_config. equal format_config t.format_config
128128 && Js_of_ocaml.Env. equal js_of_ocaml t.js_of_ocaml
129129 && Option. equal User_message. equal error_on_use t.error_on_use
@@ -143,7 +143,7 @@ module Stanza = struct
143143 ; menhir_flags = None
144144 ; odoc = Odoc. empty
145145 ; js_of_ocaml = Js_of_ocaml.Env. empty
146- ; coq = Ordered_set_lang.Unexpanded. standard
146+ ; coq = Coq_env. default
147147 ; format_config = None
148148 ; error_on_use = None
149149 ; warn_on_load = None
@@ -220,15 +220,6 @@ module Stanza = struct
220220 (Dune_lang.Syntax. since Stanza. syntax (3 , 0 ) >>> Js_of_ocaml.Env. decode)
221221 ;;
222222
223- let coq_flags = Ordered_set_lang.Unexpanded. field " flags"
224-
225- let coq_field =
226- field
227- " coq"
228- ~default: Ordered_set_lang.Unexpanded. standard
229- (Dune_lang.Syntax. since Stanza. syntax (2 , 7 ) >>> fields coq_flags)
230- ;;
231-
232223 let bin_annot =
233224 field_o " bin_annot" (Dune_lang.Syntax. since Stanza. syntax (3 , 8 ) >>> bool )
234225 ;;
@@ -248,7 +239,7 @@ module Stanza = struct
248239 and + menhir_flags = menhir_flags ~since: (Some (2 , 1 ))
249240 and + odoc = odoc_field
250241 and + js_of_ocaml = js_of_ocaml_field
251- and + coq = coq_field
242+ and + coq = Coq_env. decode
252243 and + format_config = Format_config. field ~since: (2 , 8 )
253244 and + bin_annot = bin_annot in
254245 { flags
0 commit comments