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 44E85BC69 for ; Wed, 2 May 2007 15:48:25 +0200 (CEST) Received: from mu-out-0910.google.com (mu-out-0910.google.com [209.85.134.187]) by discorde.inria.fr (8.13.6/8.13.6) with ESMTP id l42DmOMM032430 for ; Wed, 2 May 2007 15:48:25 +0200 Received: by mu-out-0910.google.com with SMTP id w9so131992mue for ; Wed, 02 May 2007 06:48:24 -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=qsjlzxZwEO1xt9y4tRLSMErvI25R07JYRt9u8cyUigazzQfsHb+WtzA1/w88FPDK48K67ZHBtvI4yqKsIUxVTfnmDWu8RfE8XpazK8DEZ/DEGAu3F+BsWxJdBfB7HUFB5p0KpiXU7IN734V+Ff526A4rq9XQHvJoAAN6FuRAIZo= 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=EWY0Fpn6U5q5GjFLEFFmFjKkg+MGsexsL6LAhTsfpc/wQfAkDy5wu9GHcvG7AYs2hOZ4SSuSzhLzGXIjrKMmbTxEKK8sL5teqymBdznYkWopr7wkQu6Am30xY2sDWhe/HQQ/0P67t7IiXDLbNjDqq4KmpBJ8DYh6JJ0z8AiMTdw= Received: by 10.82.163.13 with SMTP id l13mr1434513bue.1178113704276; Wed, 02 May 2007 06:48:24 -0700 (PDT) Received: from ?192.168.1.34? ( [83.52.237.136]) by mx.google.com with ESMTP id y34sm86797iky.2007.05.02.06.48.11; Wed, 02 May 2007 06:48:19 -0700 (PDT) In-Reply-To: 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> Mime-Version: 1.0 (Apple Message framework v752.3) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <1976AB40-0EEA-4C4A-9F0A-F1DDC86AE56F@gmail.com> Cc: "Caml List" Content-Transfer-Encoding: 7bit From: Joel Reymont Subject: Re: [Caml-list] Re: ocamlbuild, menhir and keeping tokens in a separate file Date: Wed, 2 May 2007 14:47:59 +0100 To: "Nicolas Pouillard" X-Mailer: Apple Mail (2.752.3) X-j-chkmail-Score: MSGID : 463896A8.003 on discorde : j-chkmail score : XXX : 5/20 1 0.000 -> 3 X-Miltered: at discorde with ID 463896A8.003 by Joe's j-chkmail (http://j-chkmail . ensmp . fr)! X-Spam: no; 0.00; tokens:01 dependencies:01 mll:01 ocaml:01 ocamldep:01 symtab:01 ocaml:01 parser:01 symtab:01 tokens:01 bug:01 2007,:98 wrote:01 token:01 caml-list:01 On May 2, 2007, at 2:08 PM, Nicolas Pouillard wrote: > From here I don't know why it fails... Apparently, dependencies are not being generated correctly for mly files. both _build/EasyToken.mly.depends and _build/EasyParser.mly.depends are empty. It's strange because there's no _build/EasyLexer.mll.depends, for example, there's the *.ml.depends instead. I added a manual dependency on EasySymtab and tagged EasyParser.mly accordingly, now everything works around the empty dependency files. myocamlbuild.ml: dep ["ocaml"; "menhir_ocamldep"; "symtab"] ["EasySymtab"]; dep ["ocaml"; "parser"; "menhir"; "symtab"] ["EasySymtab"]; _tags: "EasyParser.mly": token_base, ext_tokens, symtab Is this a bug in ocamlbuild? Menhir? Thanks, Joel -- http://wagerlabs.com/