caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Joel Reymont <joelr1@gmail.com>
To: "Nicolas Pouillard" <nicolas.pouillard@gmail.com>
Cc: "Caml List" <caml-list@inria.fr>
Subject: Re: [Caml-list] ocamlbuild support for Menhir
Date: Fri, 30 Mar 2007 14:05:18 +0100	[thread overview]
Message-ID: <9DCD82A2-EF2F-4FD9-B4AC-C2F692FEC357@gmail.com> (raw)
In-Reply-To: <cd67f63a0703300555j30117e1bjb953b156f3cd24fd@mail.gmail.com>

Nicolas,

On Mar 30, 2007, at 1:55 PM, Nicolas Pouillard wrote:

> Yes -use-menhir

The guide says I can put "true: use_menhir" in my _tags file. I tried  
that and this is what I get:

ocamlbuild test.byte --
+ ocamlyacc --raw-depend --ocamldep 'ocamldep.opt -modules'  
easy_parser.mly > easy_parser.mly.depends
usage: ocamlyacc [-v] [-q] [-b file_prefix] filename
Command exited with code 1.
Compilation unsuccessful after building 7 targets (0 cached) in  
00:00:00.

Apparently, ocamlbuild still tries to use ocamlyacc to process  
dependencies. menhir is correctly used with -use-menhir.

I would prefer the _tags option since there's gonna be no way back to  
ocamlyacc for me once I start using menhir's error reporting.

	Thanks, Joel

--
http://wagerlabs.com/






  reply	other threads:[~2007-03-30 13:05 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-03-30 12:17 Joel Reymont
2007-03-30 12:55 ` [Caml-list] " Nicolas Pouillard
2007-03-30 13:05   ` Joel Reymont [this message]
2007-03-30 13:09     ` Nicolas Pouillard
2007-03-30 12:56 ` Joel Reymont

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=9DCD82A2-EF2F-4FD9-B4AC-C2F692FEC357@gmail.com \
    --to=joelr1@gmail.com \
    --cc=caml-list@inria.fr \
    --cc=nicolas.pouillard@gmail.com \
    /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;
as well as URLs for NNTP newsgroup(s).