caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* Pb with ioxml
@ 2006-01-13 17:05 Frédéric Gava
  2006-01-13 17:12 ` [Caml-list] " Olivier Andrieu
  2006-01-13 17:15 ` Gerd Stolpmann
  0 siblings, 2 replies; 3+ messages in thread
From: Frédéric Gava @ 2006-01-13 17:05 UTC (permalink / raw)
  To: caml-list

Hi all,

I used the ioxml library (http://pauillac.inria.fr/~ddr/IoXML/index.html)
and I have done some minor modifications of this library for ocaml-0.08 but
now for ocaml-3.09 I do not know how to change it. I have the following
error message:

unbound value _loc
???

as anybody have modify this library for ocaml-3.09 or know how to not have
this error message ?

Many thanks,
Frédéric Gava



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [Caml-list] Pb with ioxml
  2006-01-13 17:05 Pb with ioxml Frédéric Gava
@ 2006-01-13 17:12 ` Olivier Andrieu
  2006-01-13 17:15 ` Gerd Stolpmann
  1 sibling, 0 replies; 3+ messages in thread
From: Olivier Andrieu @ 2006-01-13 17:12 UTC (permalink / raw)
  To: Frédéric Gava; +Cc: caml-list

 Frédéric Gava [Friday 13 January 2006] :
 >
 > Hi all,
 > 
 > I used the ioxml library (http://pauillac.inria.fr/~ddr/IoXML/index.html)
 > and I have done some minor modifications of this library for ocaml-0.08 but
 > now for ocaml-3.09 I do not know how to change it. I have the following
 > error message:
 > 
 > unbound value _loc
 > ???
 > 
 > as anybody have modify this library for ocaml-3.09 or know how to not have
 > this error message ?

Basically, you just have to add `-loc loc' to the camlp4 command
lines.

-- 
   Olivier


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [Caml-list] Pb with ioxml
  2006-01-13 17:05 Pb with ioxml Frédéric Gava
  2006-01-13 17:12 ` [Caml-list] " Olivier Andrieu
@ 2006-01-13 17:15 ` Gerd Stolpmann
  1 sibling, 0 replies; 3+ messages in thread
From: Gerd Stolpmann @ 2006-01-13 17:15 UTC (permalink / raw)
  To: Frédéric Gava; +Cc: caml-list

Am Freitag, den 13.01.2006, 18:05 +0100 schrieb Frédéric Gava:
> Hi all,
> 
> I used the ioxml library (http://pauillac.inria.fr/~ddr/IoXML/index.html)
> and I have done some minor modifications of this library for ocaml-0.08 but
> now for ocaml-3.09 I do not know how to change it. I have the following
> error message:
> 
> unbound value _loc
> ???
> 
> as anybody have modify this library for ocaml-3.09 or know how to not have
> this error message ?

The variable loc, automatically generated by camlp4, is now called _loc.
There is a command-line argument for camlp4, e.g.

camlp4 -loc loc ...

so can change this back.

Gerd
-- 
------------------------------------------------------------
Gerd Stolpmann * Viktoriastr. 45 * 64293 Darmstadt * Germany 
gerd@gerd-stolpmann.de          http://www.gerd-stolpmann.de
Telefon: 06151/153855                  Telefax: 06151/997714
------------------------------------------------------------


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2006-01-13 17:15 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-01-13 17:05 Pb with ioxml Frédéric Gava
2006-01-13 17:12 ` [Caml-list] " Olivier Andrieu
2006-01-13 17:15 ` Gerd Stolpmann

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).