hush: improve prompt in nested {}s, remove unused in_str->promptme member
authorDenys Vlasenko <vda.linux@googlemail.com>
Tue, 18 Jan 2011 16:55:04 +0000 (17:55 +0100)
committerDenys Vlasenko <vda.linux@googlemail.com>
Tue, 18 Jan 2011 16:55:04 +0000 (17:55 +0100)
commita14631917363aa96943e46090773c15ac1b0f995
tree62f04b0019996982ab45c63106cf2e185baa82ee
parent98c46d10ee81f206f274da312086a3f0533582af
hush: improve prompt in nested {}s, remove unused in_str->promptme member

function                                             old     new   delta
setup_string_in_str                                   29      38      +9
parse_and_run_stream                                  79      88      +9
setup_file_in_str                                     32      39      +7
parse_stream                                        2430    2422      -8
file_get                                             262     235     -27
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 3/2 up/down: 25/-35)            Total: -10 bytes

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
shell/hush.c