GNU bug report logs -
#25384
Compiler mis-identifies source location of erroneous parenthesis pairs
Previous Next
To reply to this bug, email your comments to 25384 AT debbugs.gnu.org.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-guile <at> gnu.org
:
bug#25384
; Package
guile
.
(Sat, 07 Jan 2017 15:53:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Mike Gran <spk121 <at> yahoo.com>
:
New bug report received and forwarded. Copy sent to
bug-guile <at> gnu.org
.
(Sat, 07 Jan 2017 15:53:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
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
Information forwarded
to
bug-guile <at> gnu.org
:
bug#25384
; Package
guile
.
(Wed, 01 Mar 2017 15:31:02 GMT)
Full text and
rfc822 format available.
Message #8 received at 25384 <at> debbugs.gnu.org (full text, mbox):
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 105 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.