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

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Daniel de Rauglaudre <daniel.de_rauglaudre@i...>
Subject: Re: [Caml-list] suggestions: add a warning capability
Hi,

On Fri, Jan 10, 2003 at 12:03:16PM +0100, Basile STARYNKEVITCH wrote:
> 
> A last tiny suggestion to Daniel de Rauglaudre - document a way to
> output error or warning messages in the usual format - I mean just
> provide a function output_error location message in Camlp4 library...
> (It is probably there already but I didn't notice it)

Pcaml.warning. It is a "hook" (or a "plugin" if you prefer), i.e. a
reference. It is commented in pcaml.mli as "for system use", but I
can add an "official" version, not being a reference, calling that
function.

-- 
Daniel de RAUGLAUDRE
http://cristal.inria.fr/~ddr/
-------------------
To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr
Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners