Bug #21111. Reviewed by John Darrington.
authorBen Pfaff <blp@gnu.org>
Sun, 23 Sep 2007 16:47:27 +0000 (16:47 +0000)
committerBen Pfaff <blp@gnu.org>
Sun, 23 Sep 2007 16:47:27 +0000 (16:47 +0000)
commit24d4c143974d0cf3258fe2d355695e820c4ff24e
tree6c48a0e2cf51afbf0e449d957026a1b1b7d18f00
parent873165af1d9ae450483816b892aa17afd669a7c0
Bug #21111.  Reviewed by John Darrington.

* command/input-program.sh: New test.

* command/do-if.sh: New tests.

* data-list.c (data_list_trns_proc): Properly set retval when END
subcommand is in use.

* do-if.c: Fix ELSE and ELSE IF clauses.
(add_clause): Drop TARGET_INDEX argument and figure out the target
of the jump on our own.  The caller couldn't compensate for the
inserted BREAK transformation.  Updated all callers.
doc/data-io.texi
src/language/control/ChangeLog
src/language/control/do-if.c
src/language/data-io/ChangeLog
src/language/data-io/data-list.c
tests/ChangeLog
tests/automake.mk
tests/command/do-if.sh [new file with mode: 0755]
tests/command/input-program.sh [new file with mode: 0755]