GNU bug report logs - #25384
Compiler mis-identifies source location of erroneous parenthesis pairs

Previous Next

Package: guile;

Reported by: Mike Gran <spk121 <at> yahoo.com>

Date: Sat, 7 Jan 2017 15:53:02 UTC

Severity: normal

Full log


Message #8 received at 25384 <at> debbugs.gnu.org (full text, mbox):

From: Andy Wingo <wingo <at> pobox.com>
To: Mike Gran <spk121 <at> yahoo.com>
Cc: 25384 <at> debbugs.gnu.org
Subject: Re: bug#25384: Compiler mis-identifies source location of erroneous
 parenthesis pairs
Date: Wed, 01 Mar 2017 16:30:33 +0100
On Sat 07 Jan 2017 16:51, Mike Gran <spk121 <at> yahoo.com> 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




This bug report was last modified 8 years and 106 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.