X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Flanguage%2Fcontrol%2FChangeLog;h=b5c4224af38d2ff50509467bc161c950b33fe902;hb=9aac12c2130257396c9ee4ee7860f618dcb202b0;hp=ef5f63a4f1606eb8bbe2484e7d67fe27afa14a1e;hpb=8381768f3394a907c621cb9acbb77b83f5cd4875;p=pspp-builds.git diff --git a/src/language/control/ChangeLog b/src/language/control/ChangeLog index ef5f63a4..b5c4224a 100644 --- a/src/language/control/ChangeLog +++ b/src/language/control/ChangeLog @@ -1,3 +1,25 @@ +Tue Dec 19 08:12:46 2006 Ben Pfaff + + Fix LOOP. Thanks to Daniel Williams + for reporting one of the bugs + fixed here. + + * loop.c (cmd_loop): Keep track of whether we created the index + variable and delete it if parsing fails, instead of creating it + after parsing the IF clause. This allows the index variable to be + used in the IF clause. This incidentally fixes a segfault when no + index variable was used. Also, return CMD_CASCADING_FAILURE if we + fail. + (parse_if_clause): Don't allow more than one IF clause. + (parse_index_clause): Don't allow more than one index clause. + Create the index variable if it doesn't exist. + (end_loop_trns_proc): Invert the sense of END LOOP's IF clause. + +Sat Dec 9 20:12:34 2006 Ben Pfaff + + * repeat.c (parse_lines): Issue an error when attempting to nest + DO REPEAT in compatibility mode. + Sat Dec 2 17:01:59 2006 Ben Pfaff Significant cleanup to DO REPEAT.