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 HAA16939; Fri, 28 Dec 2001 07:43:44 +0100 (MET) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: from nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id HAA16973 for ; Fri, 28 Dec 2001 07:43:43 +0100 (MET) Received: from cilantro.cs.wisc.edu (cilantro.cs.wisc.edu [128.105.166.48]) by nez-perce.inria.fr (8.11.1/8.11.1) with ESMTP id fBS6hgP13557 for ; Fri, 28 Dec 2001 07:43:42 +0100 (MET) Received: from localhost (willb@localhost) by cilantro.cs.wisc.edu (8.9.2/8.9.2) with ESMTP id AAA14229 for ; Fri, 28 Dec 2001 00:43:41 -0600 (CST) Date: Fri, 28 Dec 2001 00:43:41 -0600 (CST) From: Will Benton To: caml-list@pauillac.inria.fr Subject: [Caml-list] one more thing Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=ISO-8859-1 Content-Transfer-Encoding: QUOTED-PRINTABLE Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk Is there some way to get ocamlyacc to include some code in the parser.mli file it generates? I'm having ocamlyacc generate objects whose type constructors are defined in another module, and I have "open Module" in the .mly file -- but, since it isn't included in the .mli file, the .mli file won't compile. (Or is my environment screwed-up?) I apologize for my lack of caml-literacy. thanks, wb --- Will Benton | "Nicht wie die Welt ist, ist das Mystische,=20 willb@acm.org | sondern da=DF sie ist." --L. Wittgenstein ------------------- 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