<?xml version="1.0" encoding="ISO-8859-1"?>

<!DOCTYPE message PUBLIC
  "-//MLarc//DTD MLarc output files//EN"
  "../../mlarc.dtd"[
  <!ATTLIST message
    listname CDATA #REQUIRED
    title CDATA #REQUIRED
  >
]>

  <?xml-stylesheet href="../../mlarc.xsl" type="text/xsl"?>


<message 
  url="2003/01/40e4b5fc34107a18e4ba444230193749"
  from="Daniel de Rauglaudre &lt;daniel.de_rauglaudre@i...&gt;"
  author="Daniel de Rauglaudre"
  date="2003-01-10T12:45:06"
  subject="Re: [Caml-list] suggestions: add a warning capability"
  prev="2003/01/5c19bcdb5d76da9650af7569e44f4f8a"
  next="2003/01/d8417aedf95bf5c2b3a46eab0eafe2d3"
  prev-in-thread="2003/01/5c19bcdb5d76da9650af7569e44f4f8a"
  prev-thread="2003/01/277d23fbd8d964d99d8b80b7f032590a"
  next-thread="2003/01/a5817ced25cbb70715d7f05098aafb39"
  root="../../"
  period="month"
  listname="caml-list"
  title="Archives of the Caml mailing list">

<thread subject="[Caml-list] suggestions: add a warning capability">
<msg 
  url="2003/01/5c19bcdb5d76da9650af7569e44f4f8a"
  from="Basile STARYNKEVITCH &lt;basile@s...&gt;"
  author="Basile STARYNKEVITCH"
  date="2003-01-10T11:03:24"
  subject="[Caml-list] suggestions: add a warning capability">
<msg 
  url="2003/01/40e4b5fc34107a18e4ba444230193749"
  from="Daniel de Rauglaudre &lt;daniel.de_rauglaudre@i...&gt;"
  author="Daniel de Rauglaudre"
  date="2003-01-10T12:45:06"
  subject="Re: [Caml-list] suggestions: add a warning capability">
</msg>
</msg>
</thread>

<contents>
Hi,

On Fri, Jan 10, 2003 at 12:03:16PM +0100, Basile STARYNKEVITCH wrote:
&gt; 
&gt; A last tiny suggestion to Daniel de Rauglaudre - document a way to
&gt; output error or warning messages in the usual format - I mean just
&gt; provide a function output_error location message in Camlp4 library...
&gt; (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

</contents>

</message>

