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 LAA12061; Sat, 9 Feb 2002 11:21:08 +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 LAA12317 for ; Sat, 9 Feb 2002 11:21:08 +0100 (MET) Received: from verdot.inria.fr (verdot.inria.fr [128.93.11.7]) by concorde.inria.fr (8.11.1/8.11.1) with ESMTP id g19AL7r23753 for ; Sat, 9 Feb 2002 11:21:07 +0100 (MET) Received: (from ddr@localhost) by verdot.inria.fr (8.9.3/8.9.3) id LAA31354 for caml-list@inria.fr; Sat, 9 Feb 2002 11:21:07 +0100 Date: Sat, 9 Feb 2002 11:21:07 +0100 From: Daniel de Rauglaudre To: caml-list@inria.fr Subject: Re: [Caml-list] Questions about #use Message-ID: <20020209112107.D25375@verdot.inria.fr> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from johnh@ichips.intel.com on Fri, Feb 08, 2002 at 01:00:15PM -0800 Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk Hi, 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. -- Daniel de RAUGLAUDRE daniel.de_rauglaudre@inria.fr http://cristal.inria.fr/~ddr/ ------------------- 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