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 BC95ABC69 for ; Thu, 3 May 2007 09:26:24 +0200 (CEST) Received: from nz-out-0506.google.com (nz-out-0506.google.com [64.233.162.238]) by discorde.inria.fr (8.13.6/8.13.6) with ESMTP id l437QN1h012914 for ; Thu, 3 May 2007 09:26:24 +0200 Received: by nz-out-0506.google.com with SMTP id l8so635052nzf for ; Thu, 03 May 2007 00:26:23 -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=oDcnkR/lJUiySADQ2tB/M8PslE4/jJjBt9kuZXdOmdORgEBWH7NQKJEp85OHdGBh1KTVapW2ubGV+1WGkopYBTLTCRvqb3OdvwSpuF9sHWhBcTv8m55/p0duTu+3AzILWr322ggXpBj6f1DKS0f6/AbiOgUQk+GojNAGkSiUsxg= 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=kWeZM7McU94Uvg43SLYFSFPN1zs3dOc+S4/IlW74Re/s++E8uRtyyFBPpji9QVRZGvq8/mJzyjnELdnK6Ry/4rF0tC0ugVvdIGu6w2A0r+3JUnshG4TcAsi0YMI7E4JIm3wb9/X3h8VpwU7xVY67xjI+n1Z6q3TXxKYBZw5UWdU= Received: by 10.114.75.1 with SMTP id x1mr574402waa.1178177183322; Thu, 03 May 2007 00:26:23 -0700 (PDT) Received: by 10.114.183.15 with HTTP; Thu, 3 May 2007 00:26:23 -0700 (PDT) Message-ID: Date: Thu, 3 May 2007 09:26:23 +0200 From: "Nicolas Pouillard" To: "Joel Reymont" Subject: Re: [Caml-list] Re: ocamlbuild, menhir and keeping tokens in a separate file 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: <301C13B2-671A-40CE-AB6C-E92E0ED454E6@gmail.com> <78040751-B95B-4620-A995-A4AB74F5E997@gmail.com> <2A1A8C74-50D5-4F0B-815B-B56CA506578E@gmail.com> <264A27CD-4310-4142-9BCB-2BF3DF5478C3@gmail.com> <4652F73F-9CAA-4C47-AA11-0D5CFDCAE79B@gmail.com> X-j-chkmail-Score: MSGID : 46398E9F.001 on discorde : j-chkmail score : X : 0/20 1 0.000 -> 1 X-Miltered: at discorde with ID 46398E9F.001 by Joe's j-chkmail (http://j-chkmail . ensmp . fr)! X-Spam: no; 0.00; tokens:01 parser:01 ocaml:01 ocamldep:01 symtab:01 ocaml:01 parser:01 symtab:01 cmo:01 cmi:01 cmo:01 wrote:01 caml-list:01 mly:02 mly:02 On 5/2/07, Joel Reymont wrote: > ["EasySymtab"] did not make sense to ocamlbuild, apparently, so it > never tried to build my parser. I had to change to the following. It > does trigger complication of EasyParser.mly but is it correct? > > dep ["ocaml"; "menhir_ocamldep"; "symtab"] ["EasySymtab.ml"]; > dep ["ocaml"; "parser"; "menhir"; "symtab"] ["EasySymtab.cmo"]; cmi should be sufficent instead of cmo. "file:EasyParser.mly" should replace "symtab" it's shorter since it doesn't appear in the tag file. -- Nicolas Pouillard