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 TAA21205; Thu, 30 Oct 2003 19:46:40 +0100 (MET) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id TAA21194 for ; Thu, 30 Oct 2003 19:46:39 +0100 (MET) X-SPAM-Warning: Sending machine is listed in blackholes.five-ten-sg.com Received: from web40901.mail.yahoo.com (web40901.mail.yahoo.com [66.218.78.198]) by concorde.inria.fr (8.11.1/8.11.1) with SMTP id h9UIkb126221 for ; Thu, 30 Oct 2003 19:46:38 +0100 (MET) Message-ID: <20031030184637.50880.qmail@web40901.mail.yahoo.com> Received: from [213.156.75.17] by web40901.mail.yahoo.com via HTTP; Thu, 30 Oct 2003 10:46:37 PST Date: Thu, 30 Oct 2003 10:46:37 -0800 (PST) From: Artem Prysyaznuk Subject: [Caml-list] camlp4 not track valid position in source file To: caml-list@inria.fr MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Loop: caml-list@inria.fr X-Spam: no; 0.00; artem:01 artem:01 camlp:01 ocamlc:01 -version:01 3.07:01 camlp:01 3.07:01 ocamlc:01 -pp:01 britney:99 spears:99 promos:99 exception:02 exception:02 Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk Hello, Next dialog shell describe problem: $ ocamlc -version 3.07+2 $ camlp4o -v Camlp4 version 3.07+2 $ cat a.ml let test () = raise Not_found;; test ();; $ export OCAMLRUNPARAM=b Without camlp4 all ok. $ ocamlc -g a.ml $ ./a.out Fatal error: exception Not_found Raised at file "a.ml", line 2, character 16 Called from file "a.ml", line 3, character 7 But if I use camlp4o, output after exception: $ ocamlc -pp camlp4o -g a.ml $ ./a.out Fatal error: exception Not_found Raised at file "", line 1, character 31 Called from file "", line 1, character 41 So, file names and line numbers are missing. __________________________________ Do you Yahoo!? Exclusive Video Premiere - Britney Spears http://launch.yahoo.com/promos/britneyspears/ ------------------- 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