caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* [Caml-list] camlp4 choking on type constraints
@ 2003-10-14  2:34 Eric Stokes
  0 siblings, 0 replies; only message in thread
From: Eric Stokes @ 2003-10-14  2:34 UTC (permalink / raw)
  To: caml-list

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 -> dn:string -> attr:modattr list -> 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: '->' 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


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2003-10-14  2:34 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-10-14  2:34 [Caml-list] camlp4 choking on type constraints Eric Stokes

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