X-Loop: help-debbugs@HIDDEN Subject: bug#25384: Compiler mis-identifies source location of erroneous parenthesis pairs Resent-From: Mike Gran <spk121@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-guile@HIDDEN Resent-Date: Sat, 07 Jan 2017 15:53:02 +0000 Resent-Message-ID: <handler.25384.B.1483804328567 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: report 25384 X-GNU-PR-Package: guile X-GNU-PR-Keywords: To: 25384 <at> debbugs.gnu.org X-Debbugs-Original-To: Bug Guile <bug-guile@HIDDEN> Reply-To: Mike Gran <spk121@HIDDEN> Received: via spool by submit <at> debbugs.gnu.org id=B.1483804328567 (code B ref -1); Sat, 07 Jan 2017 15:53:02 +0000 Received: (at submit) by debbugs.gnu.org; 7 Jan 2017 15:52:08 +0000 Received: from localhost ([127.0.0.1]:46143 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1cPtHs-000095-KB for submit <at> debbugs.gnu.org; Sat, 07 Jan 2017 10:52:08 -0500 Received: from eggs.gnu.org ([208.118.235.92]:37609) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <spk121@HIDDEN>) id 1cPtHq-00008c-Gf for submit <at> debbugs.gnu.org; Sat, 07 Jan 2017 10:52:07 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <spk121@HIDDEN>) id 1cPtHk-00013a-IB for submit <at> debbugs.gnu.org; Sat, 07 Jan 2017 10:52:01 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: ** X-Spam-Status: No, score=2.9 required=5.0 tests=BAYES_50,FORGED_YAHOO_RCVD, FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,FREEMAIL_REPLYTO_END_DIGIT, T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:47602) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from <spk121@HIDDEN>) id 1cPtHk-00013T-F1 for submit <at> debbugs.gnu.org; Sat, 07 Jan 2017 10:52:00 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:56809) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <spk121@HIDDEN>) id 1cPtHj-0007jV-A0 for bug-guile@HIDDEN; Sat, 07 Jan 2017 10:52:00 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <spk121@HIDDEN>) id 1cPtHg-00012M-7r for bug-guile@HIDDEN; Sat, 07 Jan 2017 10:51:59 -0500 Received: from nm6.bullet.mail.ne1.yahoo.com ([98.138.90.69]:34897) by eggs.gnu.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.71) (envelope-from <spk121@HIDDEN>) id 1cPtHg-000123-1m for bug-guile@HIDDEN; Sat, 07 Jan 2017 10:51:56 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1483804314; bh=CKB68YXd+ybqmPJJ/rJPofwVBTZ8+vSz5vOyUKNIml0=; h=Date:From:Reply-To:To:Subject:References:From:Subject; b=cGWfLXf3XeMXUkPKBfVsWsRL5HzvlT84/dxJ4aYHKN0Fjx0w8D16cnLFr/IQXhzB/XQo54Cn0WYxPIGnEza34xfX/rhKlsso9EdtRmErqlW2ECZZGjYQPpQfG1bIOiu99eZmXHHQZwAkSs6TVtfibPK5cA2ES9rTUuVFXdOFM5f86t7+d4IXsH2EFvoAmDGbPrV5q5V00APIJJH705Bjb00FTrpSG5AI2YOiW60f6Sy/8mkptVI09Kj3IzYKnMnDAIelTiGKuTWfCNR2JylgdyoQoaWOlD7PeTNOBimiR/pKqDfZfbN6PB+lnUJldvKoH/PaR/h2AF3x9SFrIpC2Gw== Received: from [98.138.100.112] by nm6.bullet.mail.ne1.yahoo.com with NNFMP; 07 Jan 2017 15:51:54 -0000 Received: from [98.138.89.167] by tm103.bullet.mail.ne1.yahoo.com with NNFMP; 07 Jan 2017 15:51:54 -0000 Received: from [127.0.0.1] by omp1023.mail.ne1.yahoo.com with NNFMP; 07 Jan 2017 15:51:53 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 988836.81053.bm@HIDDEN X-YMail-OSG: .T.kpkIVM1ktgrKHhJrN_9SFVpn5egyBvPk3r8fRs3AlAN4SyGsOwVWhHyhWlA6 4dzkrqLSIwmFXVZYSib5NoCFtJ0AsdOXIwbbJVvOIn.0elBnUbpDA36Idh1LyJtOhYYWE8Cc_NQg aIZdymzoYUMG3HPVcJs41Y4DMj4zaugasE.RGl2LYQNkVeIH4uOGB6IqCmEs0C4dZoPGAXrRsXub ZabKXCQcF.ansS3l6vuPhmpFocnRNSV1rHCUNpj5iwuVv2LZ3fTh13fA9wvsToOMzzvLWMbzK_nQ qepSP..Azx.TWgiuUkxF09f4il6x2tb84GBVqwHTYEEhHGB4LjpxMPMBRtCT5dZI6kfYt7Fp.gxe ZfcFL94B70Vw.R7368jhdJFFt.J7H0MgT2BKXVlWYwR.EeQKP4rG7qddI8Q0BKkOtQgBZuC7qypS sqIRMPp9TRsOGfUA.SwcAAAiYu4YgOzYdkwZRkSyOd3imXx5eHv9rP6HfXcjEI823ujiPNPX.f6V pyFuAfskKAFT4UtX5gV3Hmf4uYDGImos26u2slf0OvMxmxOM- Received: from jws200154.mail.ne1.yahoo.com by sendmailws158.mail.ne1.yahoo.com; Sat, 07 Jan 2017 15:51:53 +0000; 1483804313.623 Date: Sat, 7 Jan 2017 15:51:44 +0000 (UTC) From: Mike Gran <spk121@HIDDEN> Message-ID: <1511183750.185669.1483804304447@HIDDEN> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit References: <1511183750.185669.1483804304447.ref@HIDDEN> Content-Length: 1180 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -2.8 (--) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -2.8 (--) In guile 2.0.13, both the compiler and the interpreter fail to identify the source location of errors of the following form. It instead reports the errors as occurring in boot-9.scm. (unknown-func unknown-symbol () #t) GUILD COMPILE ERROR ;;; WARNING: compilation of /home/mike/projects/bug1.scm failed: ;;; ERROR: Syntax error: ;;; unknown location: unexpected syntax in form () ice-9/boot-9.scm:703:29: In procedure map: ice-9/boot-9.scm:703:29: Syntax error: unknown location: unexpected syntax in form () INTERPRETER ERROR ice-9/boot-9.scm:703:29: In procedure map: ice-9/boot-9.scm:703:29: Syntax error: unknown location: unexpected syntax in form () Entering a new prompt. Type `,bt' for a backtrace or `,q' to continue. scheme@(guile-user) [1]> ,bt 4 (primitive-load "/home/mike/projects/bug1.scm") In ice-9/eval.scm: 505:12 3 (#<procedure 55fe958796c0 at ice-9/eval.scm:499:4 ...> #) In ice-9/psyntax.scm: 1116:54 2 (expand-top-sequence ((unknownfunc unknownsymbol ...)) ...) 1346:11 1 (#<procedure 55fe95f48910 (e0 e1)> unknownfunc (# # #t)) In ice-9/boot-9.scm: 703:29 0 (map #<procedure 55fe95f87040 at ice-9/psyntax.scm...> #) Thanks, Mike
Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) Content-Type: text/plain; charset=utf-8 X-Loop: help-debbugs@HIDDEN From: help-debbugs@HIDDEN (GNU bug Tracking System) To: Mike Gran <spk121@HIDDEN> Subject: bug#25384: Acknowledgement (Compiler mis-identifies source location of erroneous parenthesis pairs) Message-ID: <handler.25384.B.1483804328567.ack <at> debbugs.gnu.org> References: <1511183750.185669.1483804304447@HIDDEN> X-Gnu-PR-Message: ack 25384 X-Gnu-PR-Package: guile Reply-To: 25384 <at> debbugs.gnu.org Date: Sat, 07 Jan 2017 15:53:02 +0000 Thank you for filing a new bug report with debbugs.gnu.org. This is an automatically generated reply to let you know your message has been received. Your message is being forwarded to the package maintainers and other interested parties for their attention; they will reply in due course. Your message has been sent to the package maintainer(s): bug-guile@HIDDEN If you wish to submit further information on this problem, please send it to 25384 <at> debbugs.gnu.org. Please do not send mail to help-debbugs@HIDDEN unless you wish to report a problem with the Bug-tracking system. --=20 25384: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D25384 GNU Bug Tracking System Contact help-debbugs@HIDDEN with problems
X-Loop: help-debbugs@HIDDEN Subject: bug#25384: Compiler mis-identifies source location of erroneous parenthesis pairs Resent-From: Andy Wingo <wingo@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-guile@HIDDEN Resent-Date: Wed, 01 Mar 2017 15:31:02 +0000 Resent-Message-ID: <handler.25384.B25384.14883822459466 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 25384 X-GNU-PR-Package: guile X-GNU-PR-Keywords: To: Mike Gran <spk121@HIDDEN> Cc: 25384 <at> debbugs.gnu.org Received: via spool by 25384-submit <at> debbugs.gnu.org id=B25384.14883822459466 (code B ref 25384); Wed, 01 Mar 2017 15:31:02 +0000 Received: (at 25384) by debbugs.gnu.org; 1 Mar 2017 15:30:45 +0000 Received: from localhost ([127.0.0.1]:34543 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1cj6DF-0002Sc-Jv for submit <at> debbugs.gnu.org; Wed, 01 Mar 2017 10:30:45 -0500 Received: from pb-sasl1.pobox.com ([64.147.108.66]:60974 helo=sasl.smtp.pobox.com) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <wingo@HIDDEN>) id 1cj6DD-0002SU-Hn for 25384 <at> debbugs.gnu.org; Wed, 01 Mar 2017 10:30:43 -0500 Received: from sasl.smtp.pobox.com (unknown [127.0.0.1]) by pb-sasl1.pobox.com (Postfix) with ESMTP id 3328F5EEA3; Wed, 1 Mar 2017 10:30:41 -0500 (EST) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=pobox.com; h=from:to:cc :subject:references:date:in-reply-to:message-id:mime-version :content-type; s=sasl; bh=2Z8l1eXN4XF57NJAeNbBFzRR5NE=; b=yCwgeI /VxBqOwPd+G5cl1kFqv2u/BX2Oq6K9rxvmB4qrQgAJtqrqQMJqFyq2HdktxY7pdQ YYO5iPP0Q+ZTrdMtfOiUDyhKragnDwMsAWSOHki9Ph8O4INY4T4WVf65KN+dV0j0 GSyVUIIp9oviJuAGSwp/1yiDgo5foexa0Bn2o= DomainKey-Signature: a=rsa-sha1; c=nofws; d=pobox.com; h=from:to:cc :subject:references:date:in-reply-to:message-id:mime-version :content-type; q=dns; s=sasl; b=T7iNuqGz5RCDehJDlIyqJuGka9feMVQQ TIOKGC8rtODHgIywrFYRya9fLrr7ELOQ7DmrRlFBPjZcOmxZo4rwuwyKwS963MPb MyXzaTkm24Go459z9WhvlatwTVeMpCpTh6r6zYLnZ1PUrqy6v2/gWwhj8XePa5/J 1b58rTIHap4= Received: from pb-sasl1.nyi.icgroup.com (unknown [127.0.0.1]) by pb-sasl1.pobox.com (Postfix) with ESMTP id 2DBC25EEA1; Wed, 1 Mar 2017 10:30:41 -0500 (EST) Received: from clucks (unknown [109.190.228.233]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by pb-sasl1.pobox.com (Postfix) with ESMTPSA id 67D3E5EEA0; Wed, 1 Mar 2017 10:30:40 -0500 (EST) From: Andy Wingo <wingo@HIDDEN> References: <1511183750.185669.1483804304447.ref@HIDDEN> <1511183750.185669.1483804304447@HIDDEN> Date: Wed, 01 Mar 2017 16:30:33 +0100 In-Reply-To: <1511183750.185669.1483804304447@HIDDEN> (Mike Gran's message of "Sat, 7 Jan 2017 15:51:44 +0000 (UTC)") Message-ID: <87a895f206.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Pobox-Relay-ID: 06EF3004-FE94-11E6-A2F1-B667064AB293-02397024!pb-sasl1.pobox.com X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: 0.0 (/) On Sat 07 Jan 2017 16:51, Mike Gran <spk121@HIDDEN> writes: > In guile 2.0.13, both the compiler and the interpreter > fail to identify the source location of errors of the following > form. It instead reports the errors as occurring in boot-9.scm. > (unknown-func unknown-symbol () #t) > GUILD COMPILE ERROR > ;;; WARNING: compilation of /home/mike/projects/bug1.scm failed: > ;;; ERROR: Syntax error: > ;;; unknown location: unexpected syntax in form () > ice-9/boot-9.scm:703:29: In procedure map: > ice-9/boot-9.scm:703:29: Syntax error: > unknown location: unexpected syntax in form () > > INTERPRETER ERROR > ice-9/boot-9.scm:703:29: In procedure map: > ice-9/boot-9.scm:703:29: Syntax error: > unknown location: unexpected syntax in form () Yep. Tough one. Same behavior in 2.2. Andy
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.