From: Pierre Weis <Pierre.Weis@inria.fr>
To: Jean-Christophe.Filliatre@lri.fr
Cc: ldanthon@ens-lyon.fr, caml-list@inria.fr, cdelage@ens-lyon.fr
Subject: Re: [Caml-list] ocamldep
Date: Fri, 2 Mar 2001 14:18:07 +0100 (MET) [thread overview]
Message-ID: <200103021318.OAA23051@pauillac.inria.fr> (raw)
In-Reply-To: <15002.34063.782669.109857@pc803> from Jean-Christophe Filliatre at "Feb 26, 101 05:32:15 pm"
> #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
This was a bug of ocamldep. I corrected it along with another bug
concerning qualified record labels. Cvs reports that this occurred
long time ago, early in the morning, during the last century:
date: 2000/11/28 07:52:17; author: weis; state: Exp; lines: +13 -4
Correction du bug des labels d'enregistrement qualifies dont les noms
de modules n'etaient pas pris en compte. Appel du parser sur l'entree
use_file pour accepter aussi les fichiers de commandes.
So, you could try the new version from the camlcvs source tree, or wait
for the next V3.01 version of the language.
Best regards,
Pierre Weis
INRIA, Projet Cristal, Pierre.Weis@inria.fr, http://pauillac.inria.fr/~weis/
-------------------
To unsubscribe, mail caml-list-request@inria.fr. Archives: http://caml.inria.fr
next prev parent reply other threads:[~2001-03-02 13:18 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-02-26 16:09 Laure Danthony
2001-02-26 16:32 ` Jean-Christophe Filliatre
2001-03-02 13:18 ` Pierre Weis [this message]
2001-02-26 16:50 ` Martin Jambon
2004-05-08 3:37 skaller
2004-05-08 7:42 ` Jean-Baptiste Rouquier
2004-05-08 8:56 ` Richard Jones
2004-05-08 9:05 ` Nicolas Cannasse
2004-05-08 10:55 ` skaller
2004-05-08 11:11 ` Nicolas Cannasse
2004-05-08 9:56 ` Stefano Zacchiroli
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200103021318.OAA23051@pauillac.inria.fr \
--to=pierre.weis@inria.fr \
--cc=Jean-Christophe.Filliatre@lri.fr \
--cc=caml-list@inria.fr \
--cc=cdelage@ens-lyon.fr \
--cc=ldanthon@ens-lyon.fr \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).