Mailing list for all users of the OCaml language and system.
 help / color / mirror / Atom feed
From: Pierre-Yves Strub <pierre-yves@strub.nu>
To: caml-list@inria.fr
Subject: [Caml-list] ocamlbuild / menhir with --infer / ocamlc options other than -I
Date: Tue, 08 Jan 2013 16:35:04 +0100	[thread overview]
Message-ID: <50EC3CA8.3090106@strub.nu> (raw)

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.

             reply	other threads:[~2013-01-08 15:35 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-01-08 15:35 Pierre-Yves Strub [this message]
2013-01-08 15:44 ` Gabriel Scherer
2013-01-11  8:51   ` Pierre-Yves Strub

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=50EC3CA8.3090106@strub.nu \
    --to=pierre-yves@strub.nu \
    --cc=caml-list@inria.fr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox