From be709c24d40c2fb52d3f57faa25b9134c7d25270 Mon Sep 17 00:00:00 2001 From: Denis Vlasenko Date: Mon, 28 Jul 2008 00:01:16 +0000 Subject: hush: finish and enable optional case...esac support. Code size cost: function old new delta run_list 1891 2075 +184 parse_stream 1764 1847 +83 expand_strvec_to_string - 83 +83 done_word 647 715 +68 static.reserved_list 144 168 +24 static.reserved_match - 12 +12 done_pipe 95 105 +10 builtin_exit 48 46 -2 builtin_eval 127 54 -73 ------------------------------------------------------------------------------ (add/remove: 2/0 grow/shrink: 5/2 up/down: 464/-75) Total: 389 bytes --- shell/hush_test/hush-misc/case1.right | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 shell/hush_test/hush-misc/case1.right (limited to 'shell/hush_test/hush-misc/case1.right') diff --git a/shell/hush_test/hush-misc/case1.right b/shell/hush_test/hush-misc/case1.right new file mode 100644 index 0000000..9b88658 --- /dev/null +++ b/shell/hush_test/hush-misc/case1.right @@ -0,0 +1,13 @@ +OK_1 +OK_21 +OK_22 +OK_23 +OK_31 +OK_32 +OK_41 +OK_42 +OK_43 +OK_44 +OK_51 +OK_52 +OK_53 -- cgit v1.1