unofficial mirror of bug-guile@gnu.org 
 help / color / mirror / Atom feed
From: Andy Wingo <wingo@pobox.com>
To: Mike Gran <spk121@yahoo.com>
Cc: 25384@debbugs.gnu.org
Subject: bug#25384: Compiler mis-identifies source location of erroneous parenthesis pairs
Date: Wed, 01 Mar 2017 16:30:33 +0100	[thread overview]
Message-ID: <87a895f206.fsf@pobox.com> (raw)
In-Reply-To: <1511183750.185669.1483804304447@mail.yahoo.com> (Mike Gran's message of "Sat, 7 Jan 2017 15:51:44 +0000 (UTC)")

On Sat 07 Jan 2017 16:51, Mike Gran <spk121@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





      reply	other threads:[~2017-03-01 15:30 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <1511183750.185669.1483804304447.ref@mail.yahoo.com>
2017-01-07 15:51 ` bug#25384: Compiler mis-identifies source location of erroneous parenthesis pairs Mike Gran
2017-03-01 15:30   ` Andy Wingo [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/guile/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87a895f206.fsf@pobox.com \
    --to=wingo@pobox.com \
    --cc=25384@debbugs.gnu.org \
    --cc=spk121@yahoo.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).