projects
/
pspp
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Finish converting struct variable to an opaque type. In this
[pspp]
/
src
/
language
/
control
/
loop.c
diff --git
a/src/language/control/loop.c
b/src/language/control/loop.c
index 01aad6fdaad36ae9d414c9b30127d9fdb8b4e5d1..56df4b7a9273be6337986af9809ca32eae7b737e 100644
(file)
--- a/
src/language/control/loop.c
+++ b/
src/language/control/loop.c
@@
-294,7
+294,7
@@
loop_trns_proc (void *loop_, struct ccase *c, casenumber case_num)
/* Even if the loop is never entered, set the index
variable to the initial value. */
/* Even if the loop is never entered, set the index
variable to the initial value. */
- case_data_rw (c, loop->index_var
->fv
)->f = loop->cur;
+ case_data_rw (c, loop->index_var)->f = loop->cur;
/* Throw out pathological cases. */
if (!finite (loop->cur) || !finite (loop->by) || !finite (loop->last)
/* Throw out pathological cases. */
if (!finite (loop->cur) || !finite (loop->by) || !finite (loop->last)
@@
-355,7
+355,7
@@
end_loop_trns_proc (void *loop_, struct ccase *c, casenumber case_num UNUSED)
if ((loop->by > 0.0 && loop->cur > loop->last)
|| (loop->by < 0.0 && loop->cur < loop->last))
goto break_out;
if ((loop->by > 0.0 && loop->cur > loop->last)
|| (loop->by < 0.0 && loop->cur < loop->last))
goto break_out;
- case_data_rw (c, loop->index_var
->fv
)->f = loop->cur;
+ case_data_rw (c, loop->index_var)->f = loop->cur;
}
if (loop->loop_condition != NULL
}
if (loop->loop_condition != NULL