mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-06-19 18:20:22 +02:00
allow `apply' on %nil-terminated lists
* libguile/vm-engine.h (PUSH_LIST): Add a parameter to check that the list was proper. * libguile/vm-i-system.c: Adapt PUSH_LIST callsites to pass SCM_NULLP or SCM_NULL_OR_NIL_P, as appropriate. Add a check to return/values*. * libguile/vm.c: Add lang.h header for SCM_NULL_OR_NIL_P. * test-suite/tests/elisp.test: Fix XFAIL for elisp + apply.
This commit is contained in:
parent
b1b942b74c
commit
fb10a0084e
4 changed files with 15 additions and 14 deletions
|
@ -49,6 +49,7 @@
|
|||
#include "instructions.h"
|
||||
#include "objcodes.h"
|
||||
#include "programs.h"
|
||||
#include "lang.h" /* NULL_OR_NIL_P */
|
||||
#include "vm.h"
|
||||
|
||||
/* I sometimes use this for debugging. */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue