aboutsummaryrefslogtreecommitdiffhomepage
path: root/plugins/extraction/ocaml.ml
diff options
context:
space:
mode:
authorGravatar Guillaume Melquiond <guillaume.melquiond@inria.fr>2015-03-21 13:54:46 +0100
committerGravatar Guillaume Melquiond <guillaume.melquiond@inria.fr>2015-03-21 13:54:46 +0100
commit21771adc7454ae186823b3f30d43c2fb80d70fc2 (patch)
tree01018e82305ae39d7454fa6cb726b6c8039b9ef2 /plugins/extraction/ocaml.ml
parent58521e6066974833bb83e98a6bb17feb0c1fee90 (diff)
Properly capitalize filenames when extracting to Haskell. (Fix for bug #3221)
Diffstat (limited to 'plugins/extraction/ocaml.ml')
-rw-r--r--plugins/extraction/ocaml.ml1
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/extraction/ocaml.ml b/plugins/extraction/ocaml.ml
index 85f18a093..8c482b4b1 100644
--- a/plugins/extraction/ocaml.ml
+++ b/plugins/extraction/ocaml.ml
@@ -746,6 +746,7 @@ let pp_decl d = try pp_decl d with Failure "empty phrase" -> mt ()
let ocaml_descr = {
keywords = keywords;
file_suffix = ".ml";
+ file_naming = file_of_modfile;
preamble = preamble;
pp_struct = pp_struct;
sig_suffix = Some ".mli";