mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-05-09 23:40:29 +02:00
fix to variable-bound? instruction prototype
* libguile/vm-i-system.c (variable-bound?): Correctly declare as popping one item.
This commit is contained in:
parent
80e22004bd
commit
0515661235
1 changed files with 1 additions and 1 deletions
|
@ -322,7 +322,7 @@ VM_DEFINE_INSTRUCTION (26, variable_ref, "variable-ref", 0, 1, 1)
|
||||||
NEXT;
|
NEXT;
|
||||||
}
|
}
|
||||||
|
|
||||||
VM_DEFINE_INSTRUCTION (27, variable_bound, "variable-bound?", 0, 0, 1)
|
VM_DEFINE_INSTRUCTION (27, variable_bound, "variable-bound?", 0, 1, 1)
|
||||||
{
|
{
|
||||||
if (VARIABLE_BOUNDP (*sp))
|
if (VARIABLE_BOUNDP (*sp))
|
||||||
*sp = SCM_BOOL_T;
|
*sp = SCM_BOOL_T;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue