English version
Accueil     À propos     Téléchargement     Ressources     Contactez-nous    

Ce site est rarement mis à jour. Pour les informations les plus récentes, rendez-vous sur le nouveau site OCaml à l'adresse ocaml.org.

Browse thread
[Caml-list] Questions about #use
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2002-02-09 (10:21)
From: Daniel de Rauglaudre <daniel.de_rauglaudre@i...>
Subject: Re: [Caml-list] Questions about #use

On Fri, Feb 08, 2002 at 01:00:15PM -0800, Harrison, John R wrote:

> The documentation for the "#use" directive says "phrases are processed just
> as if they were typed on standard input". However according to my
> experience with OCaml, this isn't really accurate. Some level of syntax
> checking is first done on the whole file before any phrases are processed.

If you loaded the camlp4 stuff, it is possible, indeed. There is a
serious bug in camlp4 in #use directive, a problem of order when the
file contains other directives. It has been fixed for the next version.

Bug reports: http://caml.inria.fr/bin/caml-bugs  FAQ: http://caml.inria.fr/FAQ/
To unsubscribe, mail caml-list-request@inria.fr  Archives: http://caml.inria.fr