From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (from majordomo@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id EAA28891; Tue, 14 Oct 2003 04:34:29 +0200 (MET DST) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: from nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id EAA23473 for ; Tue, 14 Oct 2003 04:34:28 +0200 (MET DST) Received: from plover.csun.edu (plover.csun.edu [130.166.1.24]) by nez-perce.inria.fr (8.11.1/8.11.1) with ESMTP id h9E2YR119843 for ; Tue, 14 Oct 2003 04:34:27 +0200 (MET DST) Received: from puffin.csun.edu (puffin.csun.edu [130.166.1.21]) by plover.csun.edu (Mirapoint Messaging Server MOS 3.3.7-GR) with ESMTP id AQP85406; Mon, 13 Oct 2003 19:34:23 -0700 (PDT) Received: from [10.0.0.238] ([130.166.243.15]) by puffin.csun.edu (Mirapoint Messaging Server MOS 3.3.7-GR) with ESMTP id BAT17257 (AUTH eric); Mon, 13 Oct 2003 19:34:22 -0700 (PDT) Mime-Version: 1.0 (Apple Message framework v604) Content-Transfer-Encoding: 7bit Message-Id: Content-Type: text/plain; charset=US-ASCII; format=flowed To: caml-list@inria.fr From: Eric Stokes Subject: [Caml-list] camlp4 choking on type constraints Date: Mon, 13 Oct 2003 19:34:21 -0700 X-Mailer: Apple Mail (2.604) X-Junkmail-Whitelist: YES (by domain whitelist at puffin.csun.edu) X-Loop: caml-list@inria.fr X-Spam: no; 0.00; camlp:01 camlp:01 val:01 conn:01 mli:01 mli:01 ifdef:01 cmo:01 cmo:01 attr:02 unit:03 string:03 anybody:03 parse:04 constraints:04 Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk 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