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 9BB6ABC58 for ; Mon, 11 Oct 2010 15:45:43 +0200 (CEST) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AqsBALuxskzAbSoIe2dsb2JhbACDH5ByjXwVAQEWIgQerVeSFIEigzJ0BIpB X-IronPort-AV: E=Sophos;i="4.57,314,1283724000"; d="scan'208";a="80591533" 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 15:45:43 +0200 X-Envelope-From: oliver@first.in-berlin.de X-Envelope-To: Received: from siouxsie (e178004055.adsl.alicedsl.de [85.178.4.55]) (authenticated bits=0) by einhorn.in-berlin.de (8.13.6/8.13.6/Debian-1) with ESMTP id o9BDjgku007597 for ; Mon, 11 Oct 2010 15:45:42 +0200 Received: by siouxsie (Postfix, from userid 1000) id 33CAD3758; Mon, 11 Oct 2010 15:45:42 +0200 (CEST) Date: Mon, 11 Oct 2010 15:45:42 +0200 From: oliver@first.in-berlin.de To: caml-list@inria.fr Subject: Re: [Caml-list] my own exceptions from ocamlyacc? Message-ID: <20101011134542.GA6256@first.in-berlin.de> References: <20101011102249.GA3262@first.in-berlin.de> <20101011145529.8f6dec2f.basile@starynkevitch.net> <4CB31060.9000706@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <4CB31060.9000706@gmail.com> 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 0100,:01 parser:01 parser:01 lexer:01 wrote:01 oliver:01 oliver:01 caml-list:01 exceptions:01 module:03 module:03 problem:05 chris:06 On Mon, Oct 11, 2010 at 02:25:52PM +0100, Chris Yocum wrote: > I had a similar problem. The solution was to create another module > which was opened inside the Parser module. This way you can add your > own interface on top of the Parser/Lexer module. I hope this helps. [...] Hmhhh, something like that I also had in mind, but I would like to circumvent this, if possible. Ciao, Oliver