From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Jose Antonio Ortega Ruiz Newsgroups: gmane.lisp.guile.bugs Subject: [bug #30903] Error line numbers are wrong Date: Mon, 30 Aug 2010 02:08:57 +0000 Message-ID: <20100830-020856.sv424.31665@savannah.gnu.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain;charset=UTF-8 X-Trace: dough.gmane.org 1283134164 11711 80.91.229.12 (30 Aug 2010 02:09:24 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 30 Aug 2010 02:09:24 +0000 (UTC) To: Jose Antonio Ortega Ruiz , bug-guile@gnu.org Original-X-From: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Mon Aug 30 04:09:23 2010 Return-path: Envelope-to: guile-bugs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1OptoI-00029t-9x for guile-bugs@m.gmane.org; Mon, 30 Aug 2010 04:09:23 +0200 Original-Received: from localhost ([127.0.0.1]:35058 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OptoG-0003NC-8h for guile-bugs@m.gmane.org; Sun, 29 Aug 2010 22:09:20 -0400 Original-Received: from [140.186.70.92] (port=48798 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Optny-0003Hk-AH for bug-guile@gnu.org; Sun, 29 Aug 2010 22:09:03 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1Optnu-0004Wp-SI for bug-guile@gnu.org; Sun, 29 Aug 2010 22:08:59 -0400 Original-Received: from colonialone.fsf.org ([140.186.70.51]:49869 helo=internal.in.savannah.gnu.org) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Optnt-0004Wc-No; Sun, 29 Aug 2010 22:08:57 -0400 Original-Received: from [10.1.0.103] (helo=frontend.in.savannah.gnu.org) by internal.in.savannah.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Optnt-0003AZ-99; Mon, 30 Aug 2010 02:08:57 +0000 Original-Received: from www-data by frontend.in.savannah.gnu.org with local (Exim 4.69) (envelope-from ) id 1Optnt-0002cb-7V; Mon, 30 Aug 2010 02:08:57 +0000 X-Savane-Server: savannah.gnu.org:443 [10.1.0.103] X-Savane-Project: guile X-Savane-Tracker: bugs X-Savane-Item-ID: 30903 User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.11) Gecko/20100819 Conkeror/0.9.2 (Debian-0.9.2+git100829-~nightlybuild1283033221) X-Apparently-From: 83.50.71.238 (Savane authenticated user jao) Original-References: In-Reply-To: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-BeenThere: bug-guile@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GUILE, GNU's Ubiquitous Extension Language" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Errors-To: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.bugs:4752 Archived-At: URL: Summary: Error line numbers are wrong Project: Guile Submitted by: jao Submitted on: Mon 30 Aug 2010 02:08:56 AM GMT Category: None Severity: 3 - Normal Item Group: None Status: None Privacy: Public Assigned to: None Open/Closed: Open Discussion Lock: Any _______________________________________________________ Details: In today's guile 1.9 (and since a while ago), line number and column reported by the repl on entering the debugger are wrong (they seem to always point some lines above the actual error). E.g., loading this file: (define-module (foo)) (define k 3) a reports the undefined `a' error as: scheme@(guile-user)> (load "foo.scm") ;;; compiling foo.scm ;;; compiled /home/jao/.cache/guile/ccache/2.0-0.RLE-4/home /jao/tmp/foo.scm.go foo.scm:1:1: In procedure module-lookup: foo.scm:1:1: Unbound variable: define-modue Entering a new prompt. Type `,bt' for a backtrace or `,q' to continue. scheme@(guile-user) [1]> i.e., line 1 instead of line 5. _______________________________________________________ Reply to this item at: _______________________________________________ Message sent via/by Savannah http://savannah.gnu.org/