summaryrefslogtreecommitdiffstats
path: root/eval.c
diff options
context:
space:
mode:
Diffstat (limited to 'eval.c')
-rw-r--r--eval.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/eval.c b/eval.c
index 9caec011..337f4f80 100644
--- a/eval.c
+++ b/eval.c
@@ -1856,7 +1856,7 @@ static val rangev_func(val env, val lcons)
cons_bind (to, step, to_step);
val next = if3(functionp(step),
funcall1(step, from),
- plus(step, from));
+ plus(from, step));
rplaca(lcons, from);
@@ -1891,7 +1891,7 @@ static val range_star_v_func(val env, val lcons)
cons_bind (to, step, to_step);
val next = if3(functionp(step),
funcall1(step, from),
- plus(step, from));
+ plus(from, step));
rplaca(lcons, from);