Skip to content

Commit

Permalink
4.02 compat
Browse files Browse the repository at this point in the history
  • Loading branch information
Julow committed Jan 8, 2025
1 parent 45d36eb commit bf67fa4
Show file tree
Hide file tree
Showing 4 changed files with 305 additions and 301 deletions.
2 changes: 2 additions & 0 deletions src/model/names.ml
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
open Odoc_utils

(** Returns [true] on chars that are part of operators. *)
let operator_char = function
(* https://ocaml.org/manual/5.2/lex.html#core-operator-char *)
Expand Down
2 changes: 2 additions & 0 deletions src/ocamlary/dune
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
(library
(name ocamlary)
(public_name odoc.ocamlary)
(enabled_if
(>= %{ocaml_version} 4.14.0))
(virtual_modules ocamlary))
2 changes: 1 addition & 1 deletion test/generators/gen_rules/gen_rules.ml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ let constraints =
[
("stop_dead_link_doc.mli", Min "4.04");
("bugs_post_406.mli", Min "4.06");
("ocamlary.mli", Min "4.07");
("ocamlary.mli", Min "4.14");
("recent.mli", Min "4.09");
("labels.mli", Min "4.09");
("recent_impl.ml", Min "4.09");
Expand Down
Loading

0 comments on commit bf67fa4

Please sign in to comment.