Mailing list for all users of the OCaml language and system.
 help / color / mirror / Atom feed
* [Caml-list] ocamlbuild / menhir with --infer / ocamlc options other than -I
@ 2013-01-08 15:35 Pierre-Yves Strub
  2013-01-08 15:44 ` Gabriel Scherer
  0 siblings, 1 reply; 3+ messages in thread
From: Pierre-Yves Strub @ 2013-01-08 15:35 UTC (permalink / raw)
  To: caml-list

Hi,

I have a parser that opens a module compiled with -rectypes. Although I 
added the rectypes tags (true: rectypes) to my ocamlbuild configuration, 
ocamlbuild does not add the -rectypes flag to the --ocamlc command given 
to menhir.

 From the source code (ocaml_tools.menhir), it seems that only the 
include flags are passed to the --ocamlc command:

   Cmd(S[menhir;
         A"--ocamlc"; Quote(S[!Options.ocamlc; ocaml_include_flags mly]);
         T(tags_of_pathname mly++"ocaml"++"parser"++"menhir");
         A"--infer"; Px mly])

Bests,
     Pierre-Yves.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2013-01-11  8:51 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-01-08 15:35 [Caml-list] ocamlbuild / menhir with --infer / ocamlc options other than -I Pierre-Yves Strub
2013-01-08 15:44 ` Gabriel Scherer
2013-01-11  8:51   ` Pierre-Yves Strub

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox