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
This commit is contained in:
Denis Vlasenko
2008-07-06 10:01:13 +00:00
parent d48e81f0cd
commit 733e3fbc2f
3 changed files with 41 additions and 24 deletions

View File

@@ -0,0 +1,4 @@
do
done
then
OK: 0

View File

@@ -0,0 +1,2 @@
for if in do done then; do echo $if; done
echo OK: $?