Browse thread
[Caml-list] camlp4 choking on type constraints
- Eric Stokes
[
Home
]
[ Index:
by date
|
by threads
]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
| Date: | -- (:) |
| From: | Eric Stokes <eric.stokes@c...> |
| Subject: | [Caml-list] camlp4 choking on type constraints |
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