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 RAA01394; Mon, 26 Feb 2001 17:32:19 +0100 (MET) 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 RAA01402 for ; Mon, 26 Feb 2001 17:32:18 +0100 (MET) Received: from ext.lri.fr (ext.lri.fr [129.175.15.4]) by nez-perce.inria.fr (8.11.1/8.10.0) with ESMTP id f1QGWI908146 for ; Mon, 26 Feb 2001 17:32:18 +0100 (MET) Received: from pc803.lri.fr (IDENT:root@pc803 [129.175.8.114]) by ext.lri.fr (8.11.1/jtpda-5.3.2) with ESMTP id f1QGWHu28211 ; Mon, 26 Feb 2001 17:32:17 +0100 (MET) Received: by pc803.lri.fr (8.9.3/feuille) id RAA10516 ; Mon, 26 Feb 2001 17:32:19 +0100 X-Authentication-Warning: localhost.localdomain: filliatr set sender to filliatr@pc803 using -f From: Jean-Christophe Filliatre MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Message-ID: <15002.34063.782669.109857@pc803> Date: Mon, 26 Feb 2001 17:32:15 +0100 (MET) To: Laure Danthony Cc: caml-list@inria.fr, Christophe Delage Subject: Re: [Caml-list] ocamldep In-Reply-To: References: X-Mailer: VM 6.49 under Emacs 20.4.1 Reply-To: Jean-Christophe.Filliatre@lri.fr (Jean-Christophe Filliatre) Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk #use is a toplevel directive : it is not valid in an Ocaml module but only accepted in the Ocaml toplevel. ocamldep is designed to produce the dependencies between some Ocaml modules and parses them to do so. Thus #use produces a syntax error. -- Jean-Christophe FILLIATRE Laure Danthony writes: > bonjour > > VF : pourquoi camldep n'arrive pas à trouver dans les dépendances > dans ce cas : > fichier un.ml : #use "deux.ml";; > ocamldep un.ml renvoie alors : > Syntax error line1, char 0,1 > > EV : why do ocamldep not find the dependencies in that case : > file one.ml : #use "two.ml";; > ocamldep one.ml says : > Syntax error line1, char 0,1 ------------------- To unsubscribe, mail caml-list-request@inria.fr. Archives: http://caml.inria.fr