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