bc: unbreak read(), remove checks for nested read()
authorDenys Vlasenko <vda.linux@googlemail.com>
Sat, 22 Dec 2018 00:34:10 +0000 (01:34 +0100)
committerDenys Vlasenko <vda.linux@googlemail.com>
Sat, 22 Dec 2018 00:34:10 +0000 (01:34 +0100)
commit8c1e72359626789b1b98aeac0225d73d1336bb59
tree7c89877da4953bccddb88943e49def923c2d7a40
parent1dc4de9d9bbdf3f60b76cecf94d756ef9394e25f
bc: unbreak read(), remove checks for nested read()

function                                             old     new   delta
zbc_parse_pushSTR                                      -      65     +65
common_parse_expr                                      -      32     +32
bc_error_nested_read_call                             10       -     -10
bc_parse_expr_empty_ok                              1977    1963     -14
zdc_parse_expr                                       635     615     -20
zcommon_parse_expr                                    32       -     -32
zbc_program_exec                                    4064    4023     -41
bc_parse_pushSTR                                      65       -     -65
------------------------------------------------------------------------------
(add/remove: 2/3 grow/shrink: 0/3 up/down: 97/-182)           Total: -85 bytes
   text    data     bss     dec     hex filename
 981661     485    7296  989442   f1902 busybox_old
 981540     485    7296  989321   f1889 busybox_unstripped

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
miscutils/bc.c
testsuite/bc.tests