aboutsummaryrefslogtreecommitdiff
path: root/shell/hush_test/hush-misc/for_with_keywords.right
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2008-07-06 10:01:13 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2008-07-06 10:01:13 +0000
commit733e3fbc2fb6eb0195cbcc02724d186b1b820df6 (patch)
tree81ba6758a3b20c84b56e42473d427368b9180c0d /shell/hush_test/hush-misc/for_with_keywords.right
parentd48e81f0cda73aca49cd852212a62e879cf35b86 (diff)
downloadbusybox-733e3fbc2fb6eb0195cbcc02724d186b1b820df6.tar.gz
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
Diffstat (limited to 'shell/hush_test/hush-misc/for_with_keywords.right')
-rw-r--r--shell/hush_test/hush-misc/for_with_keywords.right4
1 files changed, 4 insertions, 0 deletions
diff --git a/shell/hush_test/hush-misc/for_with_keywords.right b/shell/hush_test/hush-misc/for_with_keywords.right
new file mode 100644
index 000000000..eb04e9af9
--- /dev/null
+++ b/shell/hush_test/hush-misc/for_with_keywords.right
@@ -0,0 +1,4 @@
+do
+done
+then
+OK: 0