guile-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] Print backtraces for syntax errors too.


From: Ludovic Courtès
Subject: Re: [PATCH] Print backtraces for syntax errors too.
Date: Fri, 24 Feb 2023 16:48:24 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux)

Maxime Devos <maximedevos@telenet.be> skribis:

> ;; Before:
> ;;  unknown file:#f:#f: syntax-stuff-twice: bad in subform
>     #<syntax:reproducer.scm:15:27 "imagine this syntax is very hard to
>     follow"> of #<syntax:reproducer.scm:15:27 "imagine this syntax is
>     very hard to follow">
> ;; After:
> ;;  [the same thing]
> ;;
> ;; Looks like another patch is needed ...

What backtrace are you trying to get?

Getting a backtrace showing which macros are being expanded (similar to
what GCC does) would be great, but it’s much more work; changing this
one line in libguile won’t achieve that.

Ludo’.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]