<?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/10/b91f50d10d7d1db0ef09996f1a13d35c"
  from="Eric Stokes &lt;eric.stokes@c...&gt;"
  author="Eric Stokes"
  date="2003-10-14T02:34:29"
  subject="[Caml-list] camlp4 choking on type constraints"
  prev="2003/10/db9e80867677fab23d16f3aa64fd3fad"
  next="2003/10/a568149c03c9796eac20731395a98f3a"
  prev-thread="2003/10/b524697dd6429ef4b3d37491d400e8ff"
  next-thread="2003/10/a568149c03c9796eac20731395a98f3a"
  root="../../"
  period="month"
  listname="caml-list"
  title="Archives of the Caml mailing list">

<thread subject="[Caml-list] camlp4 choking on type constraints">
<msg 
  url="2003/10/b91f50d10d7d1db0ef09996f1a13d35c"
  from="Eric Stokes &lt;eric.stokes@c...&gt;"
  author="Eric Stokes"
  date="2003-10-14T02:34:29"
  subject="[Caml-list] camlp4 choking on type constraints">
</msg>
</thread>

<contents>
I'm having a strange problem with camlp4o under 3.07. It seems to be 
choking, with a bizarre error message, on a simple type constraint. 
Here is an example.

-------- code excert ----------
(** Adds a new entry to the ldap database. *)
val add_s : conn -&gt; dn:string -&gt; attr:modattr list -&gt; unit

-------- error -------------------
camlp4o pa_ifdef.cmo pr_o.cmo  -o ocamldap.mli -intf ocamldap.mli4
File "ocamldap.mli4", line 159, characters 30-31:
Parse error: '-&gt;' expected after [type level star] (in [type])

Anybody know what's going on here?

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

