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 QAA06363; Wed, 10 Mar 2004 16:22:52 +0100 (MET) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id QAA05944 for ; Wed, 10 Mar 2004 16:22:46 +0100 (MET) Received: from grisu.bik-gmbh.de (grisu.bik-gmbh.de [217.110.154.194]) by concorde.inria.fr (8.12.10/8.12.10) with ESMTP id i2AFMiHd024365 for ; Wed, 10 Mar 2004 16:22:45 +0100 Received: from bik-gmbh.de ([192.168.125.193]) by grisu.bik-gmbh.de (8.12.8p2/8.12.8) with ESMTP id i2AFMd1B010040; Wed, 10 Mar 2004 16:22:39 +0100 (CET) (envelope-from hars@bik-gmbh.de) Message-ID: <404F32BA.6070907@bik-gmbh.de> Date: Wed, 10 Mar 2004 16:22:34 +0100 From: Florian Hars User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040113 X-Accept-Language: de, de-de, en-us, en MIME-Version: 1.0 To: Oliver Bandel CC: caml-list@inria.fr Subject: Re: [Caml-list] Ocaml 3.07+2: "Illegal backslash escape in string" References: <20040310145456.GA272@first.in-berlin.de> In-Reply-To: <20040310145456.GA272@first.in-berlin.de> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, hits=-2.1 required=5.0 tests=EMAIL_ATTRIBUTION,IN_REP_TO,REFERENCES,REPLY_WITH_QUOTES, USER_AGENT_MOZILLA_UA,X_ACCEPT_LANG version=2.55 X-Spam-Checker-Version: SpamAssassin 2.55 (1.174.2.19-2003-05-19-exp) X-Miltered: at concorde by Joe's j-chkmail ("http://j-chkmail.ensmp.fr")! X-Loop: caml-list@inria.fr X-Spam: no; 0.00; florian:01 hars:01 hars:01 bik-gmbh:01 caml-list:01 3.07:01 oliver:01 bandel:01 3.05:01 florian:01 ocaml:01 behaviour:01 literals:02 string:03 string:03 Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk X-Status: X-Keywords: X-UID: 106 Oliver Bandel wrote: > Why should I use a double-backslashed sequence? Because it is correct, as is clearly (if you like *that* kind of clarity) documented in an obscure part of the manual (in section 6.1). The implementation of string literals was fixed in 3.05 to actually follow the documented behaviour. Yours, Florian. ------------------- 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