unofficial mirror of bug-guile@gnu.org 
 help / color / mirror / Atom feed
* bug#25384: Compiler mis-identifies source location of erroneous parenthesis pairs
       [not found] <1511183750.185669.1483804304447.ref@mail.yahoo.com>
@ 2017-01-07 15:51 ` Mike Gran
  2017-03-01 15:30   ` Andy Wingo
  0 siblings, 1 reply; 2+ messages in thread
From: Mike Gran @ 2017-01-07 15:51 UTC (permalink / raw)
  To: 25384

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





^ permalink raw reply	[flat|nested] 2+ messages in thread

* bug#25384: Compiler mis-identifies source location of erroneous parenthesis pairs
  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
  0 siblings, 0 replies; 2+ messages in thread
From: Andy Wingo @ 2017-03-01 15:30 UTC (permalink / raw)
  To: Mike Gran; +Cc: 25384

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





^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2017-03-01 15:30 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [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 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).