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 discorde.inria.fr (discorde.inria.fr [192.93.2.38]) by yquem.inria.fr (Postfix) with ESMTP id 1834EBC6B for ; Fri, 27 Apr 2007 22:15:26 +0200 (CEST) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.175]) by discorde.inria.fr (8.13.6/8.13.6) with ESMTP id l3RKFPWs031863 for ; Fri, 27 Apr 2007 22:15:25 +0200 Received: by ug-out-1314.google.com with SMTP id k3so754908ugf for ; Fri, 27 Apr 2007 13:15:25 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:in-reply-to:references:mime-version:content-type:message-id:cc:content-transfer-encoding:from:subject:date:to:x-mailer; b=gjO5nk5AmVeYQpmNMvA+DU0rdgGKhYrDACEacNbdvc3rHnfNHEbvB1QJFhO02et5DwaYrN6WqAkLCatTvCB2DVqDRbEdIioqS226iyxU2KgKj1S/RAq2KpviZ1jS2vf6U8xmqHoTwEy8PtUJUZo7AI3vL2TZ4lgXO8m6uaSX+E4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:in-reply-to:references:mime-version:content-type:message-id:cc:content-transfer-encoding:from:subject:date:to:x-mailer; b=cduVkpt0RNBQ+gNLr1Vjxx/M6qe0jXCC7qvfaogW7vFxv6FH1NA7EhJCJB+Ns9Sa222gu2TQWHNASYssSOd/HAaI0dx+KCDLP/boOT9jvRqtMFl+DytIyxg+S2Kh7B6aYi6i5XxAeuiEIgIjL38ZNe4j/HqbFC2tpAUm1t8Wo8U= Received: by 10.67.119.9 with SMTP id w9mr2381412ugm.1177704925524; Fri, 27 Apr 2007 13:15:25 -0700 (PDT) Received: from ?192.168.1.34? ( [81.37.190.201]) by mx.google.com with ESMTP id b35sm7666000ugd.2007.04.27.13.15.23; Fri, 27 Apr 2007 13:15:24 -0700 (PDT) In-Reply-To: References: Mime-Version: 1.0 (Apple Message framework v752.3) Content-Type: text/plain; charset=US-ASCII; format=flowed Message-Id: <56F499BA-47E2-4C89-982B-3FE23819FAA0@gmail.com> Cc: "Caml List" Content-Transfer-Encoding: 7bit From: Joel Reymont Subject: Re: [Caml-list] ocamlbuild and menhir options Date: Fri, 27 Apr 2007 21:15:24 +0100 To: Nicolas Pouillard X-Mailer: Apple Mail (2.752.3) X-j-chkmail-Score: MSGID : 463259DD.002 on discorde : j-chkmail score : XXX : 5/20 1 0.000 -> 3 X-Miltered: at discorde with ID 463259DD.002 by Joe's j-chkmail (http://j-chkmail . ensmp . fr)! X-Spam: no; 0.00; ocamlyacc:01 parser:01 parser:01 tokens:01 flags:01 ocaml:01 -linkpkg:01 ocaml:01 -output-obj:01 flags:01 caml-list:01 oops:01 mly:02 mly:02 output:02 Nicolas, > Oops, you're right yaccflags is just for ocamlyacc (I will fix it). > > Another solution can be: -ocamlyacc "menhir --explain" I actually need to run Menhir like this: menhir --base easy_parser easy_parser.mly easy_tokens.mly I already have flags like these in myocamlbuild.ml flag ["ocaml"; "link"] (A"-linkpkg");; flag ["ocaml"; "link"; "output_obj"] (A"-output-obj"); How would I add the flags for Menhir? Thanks, Joel -- http://wagerlabs.com/