1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-05-02 04:40:29 +02:00

* src/vm_scheme.c (cons): Bug fixed.

* src/vm_system.c (br_if_null): Set ac = SCM_BOOL_T if null.
This commit is contained in:
Keisuke Nishida 2000-09-20 09:29:18 +00:00
parent 1304f8b274
commit 6b81b7ae00
2 changed files with 5 additions and 2 deletions

View file

@ -372,7 +372,10 @@ SCM_DEFINE_INSTRUCTION (br_if_null, "%br-if-null", INST_ADDR)
{
SCM addr = FETCH (); /* must always fetch */
if (SCM_NULLP (ac))
pc = SCM_VM_ADDRESS (addr);
{
ac = SCM_BOOL_T;
pc = SCM_VM_ADDRESS (addr);
}
NEXT;
}