@@ -42,7 +42,6 @@ module Header = struct
4242end
4343
4444type section = int * string
45-
4645type cram_value = { language : [ `Sh | `Bash ]; non_det : Label .non_det option }
4746
4847type ocaml_value = {
@@ -52,17 +51,14 @@ type ocaml_value = {
5251}
5352
5453type toplevel_value = { env : Ocaml_env .t ; non_det : Label .non_det option }
55-
5654type include_ocaml_file = { part_included : string option }
57-
5855type include_other_file = { header : Header .t option }
5956
6057type include_file_kind =
6158 | Fk_ocaml of include_ocaml_file
6259 | Fk_other of include_other_file
6360
6461type include_value = { file_included : string ; file_kind : include_file_kind }
65-
6662type raw_value = { header : Header .t option }
6763
6864type value =
@@ -87,7 +83,6 @@ type t = {
8783}
8884
8985let dump_string ppf s = Fmt. pf ppf " %S" s
90-
9186let dump_section = Fmt. (Dump. pair int string )
9287
9388let header t =
@@ -195,7 +190,6 @@ let pp ?syntax ppf b =
195190 pp_errors ppf b
196191
197192let directory t = t.dir
198-
199193let file t = match t.value with Include t -> Some t.file_included | _ -> None
200194
201195let non_det t =
@@ -206,13 +200,9 @@ let non_det t =
206200 | Include _ | Raw _ -> None
207201
208202let skip t = t.skip
209-
210203let set_variables t = t.set_variables
211-
212204let unset_variables t = t.unset_variables
213-
214205let value t = t.value
215-
216206let section t = t.section
217207
218208let guess_ocaml_kind contents =
@@ -234,7 +224,6 @@ let ends_by_semi_semi c =
234224 | _ -> false
235225
236226let pp_line_directive ppf (file , line ) = Fmt. pf ppf " #%d %S" line file
237-
238227let line_directive = Fmt. to_to_string pp_line_directive
239228
240229let executable_contents ~syntax b =
0 commit comments