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 AAA10795; Thu, 18 Dec 2003 00:09:58 +0100 (MET) 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 AAA10903 for ; Thu, 18 Dec 2003 00:09:57 +0100 (MET) Received: from nexus.stwing.upenn.edu (NEXUS.STWING.UPENN.EDU [165.123.132.61]) by nez-perce.inria.fr (8.11.1/8.11.1) with ESMTP id hBHN9tX14332 for ; Thu, 18 Dec 2003 00:09:56 +0100 (MET) Received: from force.stwing.upenn.edu (root@force.stwing.upenn.edu [165.123.132.65]) by nexus.stwing.upenn.edu (8.12.10/8.12.9) with ESMTP id hBHN9s9q022768 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Wed, 17 Dec 2003 18:09:54 -0500 (EST) Received: from force.stwing.upenn.edu (wlovas@localhost [127.0.0.1]) by force.stwing.upenn.edu (8.12.10/8.12.9) with ESMTP id hBHN9rWN028570 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Wed, 17 Dec 2003 18:09:54 -0500 (EST) Received: (from wlovas@localhost) by force.stwing.upenn.edu (8.12.10/8.12.9/Submit) id hBHN9rod028569 for caml-list@inria.fr; Wed, 17 Dec 2003 18:09:53 -0500 (EST) Date: Wed, 17 Dec 2003 18:09:52 -0500 From: William Lovas To: caml-list@inria.fr Subject: Re: [Caml-list] Quotes in comments: (* " *) Message-ID: <20031217230952.GB27877@force.stwing.upenn.edu> Mail-Followup-To: caml-list@inria.fr References: <20031217152232.GA29912@redhat.com> <20031217165435.069eb702.nguyen@bk.ru> <20031217170231.GA30848@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20031217170231.GA30848@redhat.com> User-Agent: Mutt/1.5.4i X-Loop: caml-list@inria.fr X-Spam: no; 0.00; lovas:01 wlovas:01 stwing:01 caml-list:01 bug:01 compiler:01 ocaml:01 behaviour:01 wrote:03 behavior:03 behavior:03 intuitive:04 william:05 william:05 0000,:05 Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk On Wed, Dec 17, 2003 at 05:02:31PM +0000, Richard Jones wrote: > [...] I doubt I'm alone in this. I actually have > a small collection of programs now which have lines like this: > > (* ... some comment which contains an odd number of quotes ... > > [Keep OCaml compiler happy -->] " *) > > I think the behaviour is counter-intuitive, and should be classified > as a bug, [...] Funny, i always found the opposite behavior to be the more counter- intuitive of the two. (And if you want C/Java behavior, you know where to get it.) What circumstances lead you to produce comments that contain an odd number of quotes? William ------------------- 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