hush: finish and enable optional case...esac support. Code size cost:
authorDenis Vlasenko <vda.linux@googlemail.com>
Mon, 28 Jul 2008 00:01:16 +0000 (00:01 -0000)
committerDenis Vlasenko <vda.linux@googlemail.com>
Mon, 28 Jul 2008 00:01:16 +0000 (00:01 -0000)
commitbe709c24d40c2fb52d3f57faa25b9134c7d25270
tree8a2d3d0281ab92d0d961c7a783e01ba501e8a418
parent8d523cbcd79c5428f1ea5bcbec6b7d9fd3756dc3
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/Config.in
shell/hush.c
shell/hush_test/hush-misc/case1.right [new file with mode: 0644]
shell/hush_test/hush-misc/case1.tests [new file with mode: 0755]