Commit 3366b696 authored by Kim Nguyễn's avatar Kim Nguyễn Committed by Pietro Abate

Fix the compilation of ocaml bindings:

- add clflags.mli to the list of files imported from the ocaml source tree
- remove another use of #load for syntax extension loading.

Conflicts:
	Makefile.distrib
parent 3765f9b2
......@@ -371,3 +371,6 @@ ocamliface/caml_cduce.cmo:
ocamliface/caml_cduce.cmx:
@cd ocamliface; \
$(MAKE) caml_cduce.cmx
ocamliface/mlstub.cmo: SYNTAX += q_MLast.cmo
ocamliface/mlstub.cmx: SYNTAX += q_MLast.cmo
......@@ -49,7 +49,8 @@ clean:
COPY_FILES=\
typing/annot.mli \
utils/misc.ml utils/tbl.ml \
utils/consistbl.ml utils/warnings.ml utils/terminfo.ml utils/clflags.ml \
utils/consistbl.ml utils/warnings.ml utils/terminfo.ml utils/clflags.mli \
utils/clflags.ml \
parsing/asttypes.mli parsing/location.mli \
parsing/longident.ml \
typing/outcometree.mli \
......@@ -63,6 +64,7 @@ COPY_FILES=\
COMPILE_FILES=\
warnings.ml location.mli asttypes.mli outcometree.mli annot.mli asttypes.ml \
config.ml misc.ml tbl.ml \
clflags.mli \
clflags.ml consistbl.ml terminfo.ml \
location.ml longident.ml \
ident.ml path.ml \
......
#load "q_MLast.cmo";;
(* TODO:
- optimizations: generate labels and atoms only once.
- translate record to open record on positive occurence
......
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