mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-05-29 00:10:21 +02:00
* stacks.c (read_frame): Bugfix: Removed lingering `else'
statement. (read_frames): Use SCM_MACROEXPP.
This commit is contained in:
parent
7c3540523f
commit
6629eb1ca7
1 changed files with 5 additions and 7 deletions
|
@ -209,10 +209,7 @@ read_frame (dframe, offset, iframe)
|
|||
flags |= SCM_FRAMEF_EVAL_ARGS;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
iframe->source = scm_make_memoized (info[0].e.exp, info[0].e.env);
|
||||
}
|
||||
iframe->source = scm_make_memoized (info[0].e.exp, info[0].e.env);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
@ -255,9 +252,10 @@ read_frames (dframe, offset, n, iframes)
|
|||
read_frame (dframe, offset, iframe);
|
||||
if (SCM_EVALFRAMEP (*dframe))
|
||||
{
|
||||
/* If current frame is a macro frame, we should skip the
|
||||
previously recorded macro application frame. */
|
||||
if (SCM_MACROFRAMEP (*dframe) && iframe > iframes)
|
||||
/* If current frame is a macro during expansion, we should
|
||||
skip the previously recorded macro transformer
|
||||
application frame. */
|
||||
if (SCM_MACROEXPP (*dframe) && iframe > iframes)
|
||||
{
|
||||
*(iframe - 1) = *iframe;
|
||||
--iframe;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue