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 NAA08024; Tue, 20 Jul 2004 13:34:26 +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 NAA08121 for ; Tue, 20 Jul 2004 13:34:24 +0200 (MET DST) Received: from mproxy.gmail.com (rproxy.gmail.com [64.233.170.204]) by nez-perce.inria.fr (8.12.10/8.12.10) with SMTP id i6KBYNEV007217 for ; Tue, 20 Jul 2004 13:34:23 +0200 Received: by mproxy.gmail.com with SMTP id 72so382859rnf for ; Tue, 20 Jul 2004 04:34:23 -0700 (PDT) Received: by 10.38.3.70 with SMTP id 70mr36386rnc; Tue, 20 Jul 2004 04:34:22 -0700 (PDT) Message-ID: <891bd33904072004342049a188@mail.gmail.com> Date: Tue, 20 Jul 2004 07:34:22 -0400 From: Yaron Minsky Reply-To: yminsky@cs.cornell.edu To: Nicolas Cannasse Subject: Re: [Caml-list] Slight parsing difference with/without -pp "camlp4o" Cc: caml-list@inria.fr, Richard Jones In-Reply-To: <003701c46e49$d5099720$ef01a8c0@warp> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit References: <20040720092114.GA11136@redhat.com> <003701c46e49$d5099720$ef01a8c0@warp> X-Miltered: at nez-perce with ID 40FD033F.001 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Loop: caml-list@inria.fr X-Spam: no; 0.00; yaron:01 minsky:01 yminsky:01 caml-list:01 -pp:01 camlp:01 bug:01 camlp:01 dud:99 2004:99 cannasse:01 warplayer:01 3.07:01 ocamlc:01 ocamlc:01 Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk This is a bug that's already been reported to caml-bugs, and the list, though I haven't seen any response to it. Basically, camlp4o.opt is a dud --- it always returns nothing, so anything you compile with it comes out doing nothing. camlp4o works as usual, though. On Tue, 20 Jul 2004 13:08:05 +0200, Nicolas Cannasse wrote: > > [This is with OCaml 3.07 - not checked with 3.08] > > > > --------------------------------------------------------- pptest.ml -- > > let f = fun (year, week) as yw -> 1 > > ---------------------------------------------------------------------- > > > > $ ocamlc -c pptest.ml > > File "pptest.ml", line 1, characters 25-27: > > Syntax error > > > > But ... > > > > $ ocamlc -pp "camlp4o" -c pptest.ml > > $ > > > > Rich. > > Yesterday I reported a bug to the OCaml Team : > The following : > > SomeUnknownModule.f() > > is successfully compiled when using camlp4o.opt.exe under Win32 MSVC. > Looks like an empty syntax tree is returned when some error is raised. > It might be the same problem, try to shift to camlp4 bytecode built in order > to fix this. > > Regards, > Nicolas Cannasse > > > > ------------------- > 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 > ------------------- 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