hush: shrink and make more versatile error-reporting machinery
authorDenis Vlasenko <vda.linux@googlemail.com>
Thu, 9 Apr 2009 20:41:34 +0000 (20:41 -0000)
committerDenis Vlasenko <vda.linux@googlemail.com>
Thu, 9 Apr 2009 20:41:34 +0000 (20:41 -0000)
commitd68ae08cde969985e3bfcfc21a64f9c78d736fe1
treebd415a04c247e2c88049d3fa09456c52bee867a4
parent05d3b7cc0de2283f149b07196f1ca0557c062323
hush: shrink and make more versatile error-reporting machinery

function                                             old     new   delta
syntax_error_unterm_ch                                 -      31     +31
syntax_error_unterm_str                                -      14     +14
parse_stream                                        2356    2361      +5
syntax_error_at                                       12      14      +2
syntax_error                                          25      27      +2
syntax_error_unterminated                             28       -     -28
expand_variables                                    2063    2031     -32
------------------------------------------------------------------------------
(add/remove: 2/1 grow/shrink: 3/1 up/down: 54/-60)             Total: -6 bytes
   text    data     bss     dec     hex filename
  67278     197    3184   70659   11403 busybox_old
  67228     197    3184   70609   113d1 busybox_unstripped
shell/hush.c