mirror of
https://github.com/dschmenk/PLASMA.git
synced 2025-08-07 18:25:03 +00:00
Fix FUNARG assoc_list swapping
This commit is contained in:
Binary file not shown.
@@ -11,7 +11,7 @@
|
||||
)
|
||||
))
|
||||
(PLOTSIN (LAMBDA ()
|
||||
(PLOTFUNC '(LAMBDA (S) (SIN (* S PI))))
|
||||
(PLOTFUNC (FUNCTION (LAMBDA (S) (SIN (* S PI)))))
|
||||
))
|
||||
(PLOTCOS (LAMBDA ()
|
||||
(PLOTFUNC '(LAMBDA (S) (COS (* S PI))))
|
||||
|
@@ -825,8 +825,8 @@ def eval_funarg(funarg, argvals)
|
||||
// Build arg list before prepending to new assoc_list
|
||||
//
|
||||
arglist = NULL
|
||||
argbase = eval_args(argvals)
|
||||
push_sweep_stack(assoc_list) // Save current association list
|
||||
argbase = eval_args(argvals)
|
||||
assoc_list = funarg=>cdr=>cdr=>car // Swap associcate list pointer
|
||||
argsyms = funexpr=>cdr=>car
|
||||
build_args(funexpr=>cdr=>car, argbase)
|
||||
|
Reference in New Issue
Block a user