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 QAA20377; Wed, 17 Dec 2003 16:22:35 +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 QAA20027 for ; Wed, 17 Dec 2003 16:22:34 +0100 (MET) Received: from aomori.annexia.org (annexia.force9.co.uk [212.56.101.183]) by nez-perce.inria.fr (8.11.1/8.11.1) with ESMTP id hBHFMXX13214 for ; Wed, 17 Dec 2003 16:22:33 +0100 (MET) Received: from rich by aomori.annexia.org with local (Exim 3.36 #1 (Debian)) id 1AWdVQ-0007n9-00 for ; Wed, 17 Dec 2003 15:22:32 +0000 Date: Wed, 17 Dec 2003 15:22:32 +0000 To: caml-list@inria.fr Subject: [Caml-list] Quotes in comments: (* " *) Message-ID: <20031217152232.GA29912@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.4i From: Richard Jones X-Loop: caml-list@inria.fr X-Spam: no; 0.00; bug:01 ignoring:01 freshmeat:01 ltd:98 compiler:01 compiler:01 arch:02 perl:03 let:04 alter:95 seems:05 investment:94 reusable:06 java:07 problem:07 Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk Is there a deep reason why the compiler is fussed by unmatched quotes appearing in comments, ie: (* " *) ? I have a problem where tuareg-mode is getting confused by a quote character, in fact in this line: let chars = ['\\';'/';':';'*';'\'';'"'] in and I can fix tuareg-mode by adding (* " *) at the end of the line, but then the compiler barfs. So the only way to work around the tuareg-mode bug would seem to be to actually alter the code itself, which is not what I want to do. It seems better all round if the compiler treated comments as comments, ie. ignoring them. Rich. -- Richard Jones. http://www.annexia.org/ http://freshmeat.net/users/rwmj Merjis Ltd. http://www.merjis.com/ - improving website return on investment MONOLITH is an advanced framework for writing web applications in C, easier than using Perl & Java, much faster and smaller, reusable widget-based arch, database-backed, discussion, chat, calendaring: http://www.annexia.org/freeware/monolith/ ------------------- 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