From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Andy Wingo Newsgroups: gmane.lisp.guile.bugs Subject: [bug #31234] [1.9.12] errors in macroexpand don't give line numbers of source Date: Tue, 16 Nov 2010 01:57:56 +0000 Message-ID: <20101116-015756.sv20118.12756@savannah.gnu.org> References: <20101003-180846.sv73118.60397@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 1289872691 11535 80.91.229.12 (16 Nov 2010 01:58:11 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 16 Nov 2010 01:58:11 +0000 (UTC) To: Andy Wingo , Mike Gran , bug-guile@gnu.org Original-X-From: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Tue Nov 16 02:58:06 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 1PIAo8-0006CK-Dc for guile-bugs@m.gmane.org; Tue, 16 Nov 2010 02:58:04 +0100 Original-Received: from localhost ([127.0.0.1]:46773 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PIAo8-0001gB-2S for guile-bugs@m.gmane.org; Mon, 15 Nov 2010 20:58:04 -0500 Original-Received: from [140.186.70.92] (port=57332 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PIAo3-0001g3-AL for bug-guile@gnu.org; Mon, 15 Nov 2010 20:58:00 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PIAo2-0004rn-C7 for bug-guile@gnu.org; Mon, 15 Nov 2010 20:57:59 -0500 Original-Received: from colonialone.fsf.org ([140.186.70.51]:55191 helo=internal.in.savannah.gnu.org) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PIAo2-0004rd-8N for bug-guile@gnu.org; Mon, 15 Nov 2010 20:57:58 -0500 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 1PIAo0-0003Bg-Uy; Tue, 16 Nov 2010 01:57:57 +0000 Original-Received: from www-data by frontend.in.savannah.gnu.org with local (Exim 4.69) (envelope-from ) id 1PIAo0-0001tL-TL; Tue, 16 Nov 2010 01:57:56 +0000 X-Savane-Server: savannah.gnu.org:443 [10.1.0.103] X-Savane-Project: guile X-Savane-Tracker: bugs X-Savane-Item-ID: 31234 User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-us) AppleWebKit/531.2+ (KHTML, like Gecko) Safari/531.2+ Epiphany/2.30.2 X-Apparently-From: 88.0.166.12 (Savane authenticated user wingo) In-Reply-To: <20101003-180846.sv73118.60397@savannah.gnu.org> 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:4856 Archived-At: Update of bug #31234 (project guile): Status: None => Fixed Open/Closed: Open => Closed _______________________________________________________ Follow-up Comment #1: I think I have fixed the most egregious nastiness here. Currently loading your test file gives me: $ meta/guile /tmp/foo.scm ;;; note: autocompilation is enabled, set GUILE_AUTO_COMPILE=0 ;;; or pass the --no-autocompile argument to disable. ;;; compiling /tmp/foo.scm ;;; WARNING: compilation of /tmp/foo.scm failed: ;;; key syntax-error, throw_args (#f "source expression failed to match any pattern" ((line . 2) (column . 4) (filename . "/tmp/foo.scm")) (if val 0 1 2) #f) Syntax error: /tmp/foo.scm:2:4: source expression failed to match any pattern in form (if val 0 1 2) So all that ;;; WARNING foo is pretty nasty still, but it's better than it was... If something is missing, open another bug :) _______________________________________________________ Reply to this item at: _______________________________________________ Message sent via/by Savannah http://savannah.gnu.org/