From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (from majordomo@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id RAA14792; Fri, 31 Aug 2001 17:47:27 +0200 (MET DST) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id RAA14814 for ; Fri, 31 Aug 2001 17:47:26 +0200 (MET DST) Received: from smtp.nwlink.com (smtp.nwlink.com [209.20.130.57]) by concorde.inria.fr (8.11.1/8.10.0) with ESMTP id f7VFlOv21834 for ; Fri, 31 Aug 2001 17:47:24 +0200 (MET DST) Received: from ip178.usw22.rb1.bel.nwlink.com (ip178.usw22.rb1.bel.nwlink.com [207.202.195.178]) by smtp.nwlink.com (8.9.3/8.9.1) with SMTP id IAA21237 for ; Fri, 31 Aug 2001 08:45:33 -0700 (PDT) Received: (qmail 2375 invoked by uid 500); 31 Aug 2001 15:47:06 -0000 Date: Fri, 31 Aug 2001 08:47:06 -0700 From: Michael Leary To: caml Subject: Re: [Caml-list] unbound value Parser.main? Message-ID: <20010831084706.A2176@ip178.usw22.rb1.bel.nwlink.com> References: <20010830184600.A32310@ip178.usw22.rb1.bel.nwlink.com> <20010830191958.B32310@ip178.usw22.rb1.bel.nwlink.com> <20010831114247.A24478@chopin.ai.univie.ac.at> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20010831114247.A24478@chopin.ai.univie.ac.at>; from markus@mail4.ai.univie.ac.at on Fri, Aug 31, 2001 at 11:42:47AM +0200 Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk Thanks for the replies. :) New problem: How do I reference functions in fbot.ml from parser.mly? Do I have to put most of my program in the header/footer of the parser? ocamllex.opt lexer.mll 134 states, 7680 transitions, table size 31524 bytes ocamlyacc parser.mly make[1]: Entering directory `/home/leary/dev/ocaml/fbot' making ._ncdi/parser.di from parser.mli making ._d/parser.d from parser.ml making ._d/lexer.d from lexer.ml making ._d/fbot.d from fbot.ml make[1]: Leaving directory `/home/leary/dev/ocaml/fbot' make[1]: Entering directory `/home/leary/dev/ocaml/fbot' ocamlc.opt -c \ parser.mli ocamlopt.opt -c parser.ml File "parser.mly", line 10, characters 24-34: Unbound value initialize make[1]: *** [parser.cmx] Error 2 make[1]: Leaving directory `/home/leary/dev/ocaml/fbot' make: *** [native-code] Error 2 -- ------------------- Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/ To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr