Mailing list for all users of the OCaml language and system.
 help / color / mirror / Atom feed
* Porting camlp4 stuff from 3.09 to 3.10: need help
@ 2008-04-09  9:46 Loup Vaillant
  2008-04-09 12:47 ` [Caml-list] " Richard Jones
  0 siblings, 1 reply; 2+ messages in thread
From: Loup Vaillant @ 2008-04-09  9:46 UTC (permalink / raw)
  To: Caml List

Hello,

I am currently porting code which uses camlp4 from 3.09 to 3.10, and I
am quite stuck.

I would like to know if there is a document which describes the
compatibility breaking differences between the two versions. (The wiki
doesn't seem to have it yet).
It would also help me to know of the predefined quotations, (<:expr<
>>, <:str_item< >>, and such) and what they allow.

For now, I am stuck on this error:

File "pa_ocamlconf.ml", line 78, characters 14-21:
While expanding quotation "str_item" in a position of "expr":
  Parse error: illegal begin of quotation of structure item

The mentioned line 78 is:

  <:str_item< declare end >>

It looks like the "declare end" construct is not allowed any more. Is
there any equivalent in 3.10, and is there a specific bit of
documentation about this?

Thanks,
Loup


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

end of thread, other threads:[~2008-04-09 12:47 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-04-09  9:46 Porting camlp4 stuff from 3.09 to 3.10: need help Loup Vaillant
2008-04-09 12:47 ` [Caml-list] " Richard Jones

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox