From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: weis Received: (from weis@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id NAA21140 for caml-redistribution; Tue, 27 May 1997 13:21:31 +0200 (MET DST) 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 TAA05743 for ; Mon, 26 May 1997 19:11:36 +0200 (MET DST) Received: from blaze.accessone.com (blaze.accessone.com [198.68.191.19]) by concorde.inria.fr (8.8.5/8.7.3) with ESMTP id TAA00642 for ; Mon, 26 May 1997 19:11:35 +0200 (MET DST) Received: from mmuncher4 (kirk05-12.accessone.com [209.43.128.108]) by blaze.accessone.com (8.8.5/8.8.5) with ESMTP id KAA27658 for ; Mon, 26 May 1997 10:10:39 -0700 (PDT) Message-Id: <199705261710.KAA27658@blaze.accessone.com> From: "Dwight VandenBerghe" To: "CAML List" Subject: ocamlyacc question Date: Mon, 26 May 1997 10:13:11 -0700 X-MSMail-Priority: Normal X-Priority: 3 X-Mailer: Microsoft Internet Mail 4.70.1161 MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Sender: weis Is it possible to export a function from an ocamlyacc parser for use by another component of a compiler? I have a function in parser.mly that I wish to use elsewhere, but the only way I can find to export it is to massage the generated parser.mli file with sed in my makefile. Dwight (Sorry, no French version, due to compassion for the reader)