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 X-Original-To: caml-list@yquem.inria.fr Delivered-To: caml-list@yquem.inria.fr Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by yquem.inria.fr (Postfix) with ESMTP id 80386BC6B for ; Sat, 28 Apr 2007 01:38:53 +0200 (CEST) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.169]) by concorde.inria.fr (8.13.6/8.13.6) with ESMTP id l3RNcr5x024382 for ; Sat, 28 Apr 2007 01:38:53 +0200 Received: by ug-out-1314.google.com with SMTP id k3so776941ugf for ; Fri, 27 Apr 2007 16:38:53 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:mime-version:content-transfer-encoding:message-id:content-type:to:from:subject:date:x-mailer; b=flzhyAyYhXSuBG4g3oaz/0MGpluzwHSoNqEzGBqkyYqQydLR70OgDzuPpV4gCrQHtnZmQBc7TF1dC05WUvItqsyn8Wa8F2Xbegf/VLx/QDrxzZS8s24pGYLfKZDjRgNwAplz4lpqVciCe74HxuiLub+XRH7Aq1LM84L59SGg/ec= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:mime-version:content-transfer-encoding:message-id:content-type:to:from:subject:date:x-mailer; b=Waz0DrydLFTAn4WOs1yXbioYIuZWN0VrIlh8mAaDSeqGb2sjxeSGE9IzC/8vCrRzbDDNfkGcBun2Aip0YhfeYQaXeoHpqE7KNRlnscU2nxarBVEajdcus1RCrStRlkqXsjmGsVXdA5DKLqSez+J0tPqgfjalbkd5WinwCG3SeZ4= Received: by 10.66.255.7 with SMTP id c7mr3363627ugi.1177717132636; Fri, 27 Apr 2007 16:38:52 -0700 (PDT) Received: from ?192.168.1.34? ( [81.37.190.201]) by mx.google.com with ESMTP id s7sm2100946uge.2007.04.27.16.38.51; Fri, 27 Apr 2007 16:38:52 -0700 (PDT) Mime-Version: 1.0 (Apple Message framework v752.3) Content-Transfer-Encoding: 7bit Message-Id: <301C13B2-671A-40CE-AB6C-E92E0ED454E6@gmail.com> Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed To: Caml List From: Joel Reymont Subject: ocamlbuild, menhir and keeping tokens in a separate file Date: Sat, 28 Apr 2007 00:38:51 +0100 X-Mailer: Apple Mail (2.752.3) X-j-chkmail-Score: MSGID : 4632898D.000 on concorde : j-chkmail score : XXX : 5/20 1 0.000 -> 3 X-Miltered: at concorde with ID 4632898D.000 by Joe's j-chkmail (http://j-chkmail . ensmp . fr)! X-Spam: no; 0.00; tokens:01 parser:01 tokens:01 parser:01 mly:02 mly:02 specify:06 file:08 i'm:09 build:12 separate:16 command:83 command:83 thanks:17 include:19 How can I specify with ocamlbuild that to build my easy_parser.mly I need to include easy_tokens.mly on the menhir command line, as well as give menhir --base easy_parser? The command I'm looking for is below: menhir --explain --infer --base easy_parser easy_tokens.mly easy_parser.mly Thanks, Joel -- http://wagerlabs.com/