hush: support "for if in do done then; do echo $if; done" case
authorDenis Vlasenko <vda.linux@googlemail.com>
Sun, 6 Jul 2008 10:01:13 +0000 (10:01 -0000)
committerDenis Vlasenko <vda.linux@googlemail.com>
Sun, 6 Jul 2008 10:01:13 +0000 (10:01 -0000)
commit733e3fbc2fb6eb0195cbcc02724d186b1b820df6
tree81ba6758a3b20c84b56e42473d427368b9180c0d
parentd48e81f0cda73aca49cd852212a62e879cf35b86
hush: support "for if in do done then; do echo $if; done" case

function                                             old     new   delta
done_pipe                                             83      95     +12
parse_stream                                        1758    1764      +6
done_word                                            674     647     -27
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 2/1 up/down: 18/-27)             Total: -9 bytes
shell/hush.c
shell/hush_test/hush-misc/for_with_keywords.right [new file with mode: 0644]
shell/hush_test/hush-misc/for_with_keywords.tests [new file with mode: 0755]