[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug #29817] `define*' procedures get invalid source info [1.9.10]
From: |
Andy Wingo |
Subject: |
[bug #29817] `define*' procedures get invalid source info [1.9.10] |
Date: |
Sat, 05 Jun 2010 17:51:05 +0000 |
User-agent: |
Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.9) Gecko/20100330 Fedora/3.5.9-2.fc12 Firefox/3.5.9 |
Update of bug #29817 (project guile):
Status: None => Fixed
Open/Closed: Open => Closed
_______________________________________________________
Follow-up Comment #1:
Source location with IP 25 is not actually invalid, as IP 23 is actually the
IP just before the tail-call; 25 is the IP afterwards, where source location
info is associated. That part is correct, giving the right location for the
procedure call.
The fact that there is no source location associated with the definition was
a bug in which output introduced by a macro would have no source location
information. Logically it actually has at least two source locations: the
location of the macro definition, and that of the use.
Usually the use location is more useful, which is fortunate as we don't
actually have a way to record locations in macro definitions (due to lack of
needed fields in syntax objects).
So, the solution was to associate the source location of use with output
introduced by the macro (i.e. define*). This has been checked into master.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?29817>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [bug #29817] `define*' procedures get invalid source info [1.9.10],
Andy Wingo <=