mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-06-19 02:00:26 +02:00
Remove remaining uses of discouraged constructs, really.
* libguile/throw.c, libguile/vm-engine.h, libguile/vm-i-system.c, libguile/vm.c: Replace uses of discouraged constructs by their current counterparts.
This commit is contained in:
parent
5c8cefe591
commit
8b22ed7abd
4 changed files with 8 additions and 8 deletions
|
@ -211,7 +211,7 @@ scm_c_catch (SCM tag,
|
|||
throw_tag = jbr.throw_tag;
|
||||
jbr.throw_tag = SCM_EOL;
|
||||
jbr.retval = SCM_EOL;
|
||||
if (SCM_NFALSEP (vm))
|
||||
if (scm_is_true (vm))
|
||||
{
|
||||
SCM_VM_DATA (vm)->sp = sp;
|
||||
SCM_VM_DATA (vm)->fp = fp;
|
||||
|
@ -222,7 +222,7 @@ scm_c_catch (SCM tag,
|
|||
- (sp + 1 - SCM_VM_DATA (vm)->stack_base)) * sizeof(SCM));
|
||||
#endif
|
||||
}
|
||||
else if (SCM_NFALSEP ((vm = scm_the_vm ())))
|
||||
else if (scm_is_true ((vm = scm_the_vm ())))
|
||||
{
|
||||
/* oof, it's possible this catch was called before the vm was
|
||||
booted... yick. anyway, try to reset the vm stack. */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue