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 NAA23778; Sat, 13 Sep 2003 13:34:12 +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 NAA21764 for ; Sat, 13 Sep 2003 13:34:11 +0200 (MET DST) Received: from postfix3-1.free.fr (postfix3-1.free.fr [213.228.0.44]) by nez-perce.inria.fr (8.11.1/8.11.1) with ESMTP id h8DBYAT05952 for ; Sat, 13 Sep 2003 13:34:10 +0200 (MET DST) Received: from sequoia.mondomaineamoi.megalo (lns-th2-4f-81-56-223-84.adsl.proxad.net [81.56.223.84]) by postfix3-1.free.fr (Postfix) with ESMTP id DBE34C398 for ; Sat, 13 Sep 2003 13:34:09 +0200 (CEST) Received: from sequoia.mondomaineamoi.megalo (localhost.mondomaineamoi.megalo [127.0.0.1]) by sequoia.mondomaineamoi.megalo (8.12.9/8.12.2) with ESMTP id h8DBY814043273 for ; Sat, 13 Sep 2003 13:34:08 +0200 (CEST) (envelope-from stephane@sequoia.mondomaineamoi.megalo) Received: (from stephane@localhost) by sequoia.mondomaineamoi.megalo (8.12.9/8.12.5/Submit) id h8DBY4tu043272 for caml-list@inria.fr; Sat, 13 Sep 2003 13:34:04 +0200 (CEST) Date: Sat, 13 Sep 2003 13:34:04 +0200 From: Stephane Legrand To: caml-list@inria.fr Subject: Re: [Caml-list] O'Caml looks at the contents of comments?! Message-ID: <20030913113404.GB35779@sequoia.mondomaineamoi.megalo> Reply-To: stephane@freebsd-fr.org References: <20030913104552.GA21760@farrand.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030913104552.GA21760@farrand.net> User-Agent: Mutt/1.4i X-Loop: caml-list@inria.fr X-Spam: no; 0.00; caml-list:01 farrand:01 ignores:01 enforced:01 faq:01 faq:01 libres:99 compiler:01 caml:01 sci:01 behaviour:01 sep:01 syntax:02 expert-eng:02 unix:02 Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk On Sat, Sep 13, 2003 at 11:45:52AM +0100, Jim Farrand wrote: > ... > Eventually I traced the error to an unterminated string inside a > comment. This strikes me as slightly odd behaviour - one of the first > things comp sci students are taught about comments is that the compiler > ignores them. As this has been my experience for many years it took me > a long time to even consider that I could have a syntax error inside a > comment. > > So why is this restriction enforced? > ... It's a FAQ: http://caml.inria.fr/FAQ/FAQ_EXPERT-eng.html#commentaire Regards, Stephane. -- - (\(__)/) FreeBSD Francophone : www.freebsd-fr.org `(QQ)' Club Unix/Log. libres Cosne/Loire : www.cosnix.org ) ( (o o) % ATTAC : www.attac.org `--' ------------------- 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