From: Gabriel Scherer <gabriel.scherer@gmail.com>
To: Pierre-Yves Strub <pierre-yves@strub.nu>
Cc: caml-list@inria.fr
Subject: Re: [Caml-list] ocamlbuild / menhir with --infer / ocamlc options other than -I
Date: Tue, 8 Jan 2013 16:44:38 +0100 [thread overview]
Message-ID: <CAPFanBGLxSi67w4s=XqK+y-HBzi_KU0gzU9CKFC-O7cREd_nRg@mail.gmail.com> (raw)
In-Reply-To: <50EC3CA8.3090106@strub.nu>
Thanks for the report.
I'm not quite sure but I believe this is similar to the issue PR#5763:
http://caml.inria.fr/mantis/view.php?id=5763
Could you check if the proposed patch solves your problem?
If not, could you submit an issue on the bugtracker, hopefully with a
short example demonstrating the problem to make reproduction easier?
On Tue, Jan 8, 2013 at 4:35 PM, Pierre-Yves Strub <pierre-yves@strub.nu> wrote:
> 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.
>
> --
> Caml-list mailing list. Subscription management and archives:
> https://sympa.inria.fr/sympa/arc/caml-list
> Beginner's list: http://groups.yahoo.com/group/ocaml_beginners
> Bug reports: http://caml.inria.fr/bin/caml-bugs
next prev parent reply other threads:[~2013-01-08 15:45 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-01-08 15:35 Pierre-Yves Strub
2013-01-08 15:44 ` Gabriel Scherer [this message]
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='CAPFanBGLxSi67w4s=XqK+y-HBzi_KU0gzU9CKFC-O7cREd_nRg@mail.gmail.com' \
--to=gabriel.scherer@gmail.com \
--cc=caml-list@inria.fr \
--cc=pierre-yves@strub.nu \
/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