Commit 90d9a178 authored by Kim Nguyễn's avatar Kim Nguyễn
Browse files

Fix compilation of ocaml interface for OCaml 4.07

parent fea25049
......@@ -19,3 +19,8 @@
(target cduce_lib.ml)
(action
(write-file %{target} "include Cduce_core\ninclude Cduce_native_backend")))
(rule
(alias configure)
(action
(echo "Build configuration:\n OCaml compiler: %{ocaml_version}\n")))
(menhir
(modules parser)
(infer false)
)
(infer false))
\ No newline at end of file
......@@ -18,7 +18,7 @@ let () =
(modules
(:standard
\
("mlcompat_407" mlcompat_408_9 mlcompat_410)))
("mlcompat_407" mlcompat_408_9 mlcompat_410 mlcompat_411)))
(flags (-open Cduce_types))
(libraries
cduce-types
......
(* Compatibilty for OCaml 4.07 *)
open Cduce_core
let longident_parse = Ocaml_common.Longident.parse
module Mlstub =
struct
let noloc id = id
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment