From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on yquem.inria.fr X-Spam-Level: * X-Spam-Status: No, score=1.1 required=5.0 tests=AWL,SPF_NEUTRAL autolearn=disabled version=3.1.3 Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by yquem.inria.fr (Postfix) with ESMTP id 4E72ABC6C for ; Fri, 27 Apr 2007 16:27:33 +0200 (CEST) Received: from nz-out-0506.google.com (nz-out-0506.google.com [64.233.162.239]) by concorde.inria.fr (8.13.6/8.13.6) with ESMTP id l3RERVNJ018704 for ; Fri, 27 Apr 2007 16:27:32 +0200 Received: by nz-out-0506.google.com with SMTP id l8so1241056nzf for ; Fri, 27 Apr 2007 07:27:31 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=LuO0zP6gsVULGLc5+PoZ4k6CdyajIg0XA3HaEAgzxjGxSEPEzzuzhfkXOQ2hxJNYCrSiHDsqUS+MoEh+ndv0b3ED7o8aZQ9KG3mEsxq7ml/2aFwYTw1bZ1FRPoY7ggDnkv/sHnM2WggSFGXd2RC9UFgjuyiN0ZFBaMl7bfd0uhI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=WLfMVLphdjeXwW/QuyEBBaJFOt9hjmQV1Uu8KXwPbnA0SYWSSyIQ/C1yWlWsxobHRLDl3zCvwJMo54xhNjDkoIKqfw+JkCBhpvwuE6QWdxsDXDK0zfx3kzW7z0oxJWJCbAi8SsPPODkk4wIbyL2lvXT3ybZ46jGfewqLOOsI2Uc= Received: by 10.115.18.1 with SMTP id v1mr1006406wai.1177684050924; Fri, 27 Apr 2007 07:27:30 -0700 (PDT) Received: by 10.114.181.18 with HTTP; Fri, 27 Apr 2007 07:27:30 -0700 (PDT) Message-ID: Date: Fri, 27 Apr 2007 16:27:30 +0200 From: "Nicolas Pouillard" To: "Joel Reymont" Subject: Re: [Caml-list] ocamlbuild and menhir options Cc: "Caml List" In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: X-j-chkmail-Score: MSGID : 46320854.000 on concorde : j-chkmail score : X : 0/20 1 0.000 -> 1 X-Miltered: at concorde with ID 46320854.000 by Joe's j-chkmail (http://j-chkmail . ensmp . fr)! X-Spam: no; 0.00; flags:01 ocaml:01 ocaml:01 parser:01 parser:01 byte:01 ocamlyacc:01 2007,:98 wrote:01 wrote:01 caml-list:01 oops:01 declaration:02 fix:04 apr:06 On 4/27/07, Joel Reymont wrote: > > On Apr 27, 2007, at 3:12 PM, Nicolas Pouillard wrote: > > > With ocamlbuild --infer is always used. You can give it more flags > > using -yaccflags, or through a plugin filling Options.ocaml_yaccflags, > > or using some flag declaration using tags such as ("ocaml, "parser", > > "menhir"). > > I tried this but it did not use --explain. > > Does the command line look correct? > > ocamlbuild -classic-display -yaccflags --explain -use-menhir > easy_parser.byte > Oops, you're right yaccflags is just for ocamlyacc (I will fix it). Another solution can be: -ocamlyacc "menhir --explain" -- Nicolas Pouillard