Version française
Home     About     Download     Resources     Contact us    
Browse thread
[Caml-list] ocamldep
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Jean-Christophe Filliatre <Jean-Christophe.Filliatre@l...>
Subject: Re: [Caml-list] ocamldep

#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