hush: fix some TODOs. TODO in export builting: +250 bytes.
authorDenis Vlasenko <vda.linux@googlemail.com>
Fri, 10 Apr 2009 13:49:10 +0000 (13:49 -0000)
committerDenis Vlasenko <vda.linux@googlemail.com>
Fri, 10 Apr 2009 13:49:10 +0000 (13:49 -0000)
commit0b677d833718ab6c46bd4790c662c67fba4f377a
treed4a9cc818a546476c0617f93f5efc13a6a7d2a15
parent1fd1ea4395e520694bd9f8b1dc9e60af6442946d
hush: fix some TODOs. TODO in export builting: +250 bytes.
 simplify unexpected EOF handling.

function                                             old     new   delta
builtin_export                                       117     374    +257
o_reset_to_empty_unquoted                              -      21     +21
parse_stream                                        1926    1929      +3
syntax_error_unterm_ch                                31      32      +1
handle_dollar                                        644     641      -3
parse_stream_dquoted                                 307     298      -9
add_till_backquote                                   106      97      -9
add_till_closing_paren                               303     286     -17
o_reset                                               21       -     -21
------------------------------------------------------------------------------
(add/remove: 1/1 grow/shrink: 3/4 up/down: 282/-59)           Total: 223 bytes
shell/hush.c
shell/hush_test/hush-misc/export.right [new file with mode: 0644]
shell/hush_test/hush-misc/export.tests [new file with mode: 0755]