Skip to content

Commit a928fa1

Browse files
anmonteirosamoht
authored andcommitted
support OCaml 5.3
1 parent 4cda2e1 commit a928fa1

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

lib/top/compat_top.ml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,11 @@ let extension_constructor
9696
; ext_private
9797
; ext_loc
9898
; ext_attributes
99-
#if OCAML_VERSION >= (4, 11, 0)
99+
#if OCAML_VERSION >= (5, 3, 0)
100+
; ext_uid = Uid.mk
101+
~current_unit:
102+
(Some (Unit_info.make ~source_file:"mdx.ml" Impl "mdx"))
103+
#elif OCAML_VERSION >= (4, 11, 0)
100104
; ext_uid = Uid.mk ~current_unit:"mdx"
101105
#endif
102106
}

0 commit comments

Comments
 (0)