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 OAA10242; Thu, 5 Sep 2002 14:53:17 +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 OAA10275 for ; Thu, 5 Sep 2002 14:53:15 +0200 (MET DST) Received: from shiva.jussieu.fr (shiva.jussieu.fr [134.157.0.129]) by nez-perce.inria.fr (8.11.1/8.11.1) with ESMTP id g85CrE921627 for ; Thu, 5 Sep 2002 14:53:15 +0200 (MET DST) Received: from akasha.ijm.jussieu.fr (akasha.ijm.jussieu.fr [134.157.173.57]) by shiva.jussieu.fr (8.12.5/jtpda-5.4) with ESMTP id g85CrDjR038958 ; Thu, 5 Sep 2002 14:53:13 +0200 (CEST) Received: by akasha.ijm.jussieu.fr (Postfix, from userid 11004) id 68F8F3C9E1; Thu, 5 Sep 2002 14:53:08 +0200 (CEST) From: Olivier Andrieu MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15735.21428.144717.331573@akasha.ijm.jussieu.fr> Date: Thu, 5 Sep 2002 14:53:08 +0200 To: Kenneth Oksanen Cc: caml-list@inria.fr Subject: Re: [Caml-list] autoconf and caml In-Reply-To: References: <20020905135720.D5343@pauillac.inria.fr> X-Mailer: VM 7.07 under Emacs 20.7.1 X-Antivirus: scanned by sophie at shiva.jussieu.fr Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk Kenneth Oksanen [Thursday 5 September 2002] : > The extra whitespaces in the string constants are crucial. The intent > of the output of ocamllex was that they would *not* be included in the > strings, but cpp mangles those strings so that they are included in > the strings, thereby producing a broken lexer. In fact there are other pitfalls : cpp only accept lexically correct C input but ocaml lexical conventions are different. For instance 'a (type variables) are rejected by cpp if there are an odd number of them on a line ("missing terminating ' character"). -- Olivier ------------------- To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/ Beginner's list: http://groups.yahoo.com/group/ocaml_beginners