From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Original-To: caml-list@yquem.inria.fr Delivered-To: caml-list@yquem.inria.fr Received: from mail1-relais-roc.national.inria.fr (mail1-relais-roc.national.inria.fr [192.134.164.82]) by yquem.inria.fr (Postfix) with ESMTP id 81E37BBAF for ; Mon, 11 Oct 2010 12:22:50 +0200 (CEST) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AqsBAK6BskzAbSoIe2dsb2JhbACDHpBxjXwVAQEWIgQerFqRcYEigzJ0BIpB X-IronPort-AV: E=Sophos;i="4.57,313,1283724000"; d="scan'208";a="80564263" Received: from einhorn.in-berlin.de ([192.109.42.8]) by mail1-smtp-roc.national.inria.fr with ESMTP/TLS/DHE-RSA-AES256-SHA; 11 Oct 2010 12:22:50 +0200 X-Envelope-From: oliver@first.in-berlin.de X-Envelope-To: Received: from siouxsie (e178024107.adsl.alicedsl.de [85.178.24.107]) (authenticated bits=0) by einhorn.in-berlin.de (8.13.6/8.13.6/Debian-1) with ESMTP id o9BAMnPU018206 for ; Mon, 11 Oct 2010 12:22:49 +0200 Received: by siouxsie (Postfix, from userid 1000) id 24E0C3756; Mon, 11 Oct 2010 12:22:49 +0200 (CEST) Date: Mon, 11 Oct 2010 12:22:49 +0200 From: oliver@first.in-berlin.de To: caml-list@inria.fr Subject: my own exceptions from ocamlyacc? Message-ID: <20101011102249.GA3262@first.in-berlin.de> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline User-Agent: Mutt/1.5.20 (2009-06-14) X-Scanned-By: MIMEDefang_at_IN-Berlin_e.V. on 192.109.42.8 X-Spam: no; 0.00; in-berlin:01 ocamlyacc:01 ocamlyacc:01 parser:01 mli:01 recompiled:01 oliver:01 oliver:01 exception:01 exceptions:01 define:02 file:11 file:11 ciao:11 but:14 Hello, the header-section from ocamlyacc appears in the *.ml file of the parser, but not in the mli-file. Therefore, when I define an exception in the header section it is not available from the outside. At least I saw not how to achieve that. Is there a way to make that happen? I don't want to change the mli file every time I recompiled... Ciao, Oliver