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 GAA30197; Fri, 10 Aug 2001 06:51:31 +0200 (MET DST) 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 GAA30310 for ; Fri, 10 Aug 2001 06:51:30 +0200 (MET DST) Received: from deepfreeze.mine.nu (host213-123-234-183.in-addr.btopenworld.com [213.123.234.183]) by nez-perce.inria.fr (8.11.1/8.10.0) with ESMTP id f7A4pT100494 for ; Fri, 10 Aug 2001 06:51:29 +0200 (MET DST) Received: from mandelbrot.house.pkl.net ([192.168.42.42]) by deepfreeze.mine.nu with smtp (Exim 3.22 #1) id 15V4Ha-000Nke-00 for caml-list@inria.fr; Fri, 10 Aug 2001 05:52:26 +0100 Received: (qmail 20243 invoked by uid 1001); 10 Aug 2001 04:51:28 -0000 Date: Fri, 10 Aug 2001 05:51:28 +0100 From: Ceri Storey To: caml-list@inria.fr Subject: [Caml-list] Possible bug in the lexer? Message-ID: <20010810055128.E83936@mandelbrot.house.pkl.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.19i Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk Hi, I think I've discovered wierd bug in ocaml's lexer. it seems that in ocaml 3.01, and 3.02, (and camlp4 original syntax) the following will not parse: parser [< ' '"' >] -> ();; but the following will: parser [< ' (**) '"' >] -> ();; As far as i can tell, the '"' is being interpreted as an apostrophe, and then the beginning of a string containing an apostrophe. This is also the case for '\\' too. Thanks... -- ceri storey http://pkl.net/~cez/ vi(1)! qmail(7)! pie(5)! ------------------- 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