depot/pkgs/development/ocaml-modules/ppx_cstubs/ppxlib.patch
Luke Granger-Brown 57725ef3ec Squashed 'third_party/nixpkgs/' content from commit 76612b17c0ce
git-subtree-dir: third_party/nixpkgs
git-subtree-split: 76612b17c0ce71689921ca12d9ffdc9c23ce40b2
2024-11-10 23:59:47 +00:00

22 lines
765 B
Diff

diff --git a/src/internal/ppxc__script_real.ml b/src/internal/ppxc__script_real.ml
index 392f2a5..d950fc9 100644
--- a/src/internal/ppxc__script_real.ml
+++ b/src/internal/ppxc__script_real.ml
@@ -168,7 +168,7 @@ module C_content_make (E : Empty) = struct
if cnt = 0 then None else Some (String.concat "\n\n" l)
end
-module C_content_phase0 = C_content_make ()
+module C_content_phase0 = C_content_make (struct end)
module type Const_common_s = sig
include module type of C_content_phase0
@@ -300,7 +300,7 @@ module Const_phase0 = struct
else C_content_phase0.add_extract_source s2 loc exn f
end
-module C_content = C_content_make ()
+module C_content = C_content_make (struct end)
module Const = struct
include Const_common (C_content)