bc: remove special-cased assignment to ibase, it works correctly with general rules
authorDenys Vlasenko <vda.linux@googlemail.com>
Sat, 29 Dec 2018 13:52:30 +0000 (14:52 +0100)
committerDenys Vlasenko <vda.linux@googlemail.com>
Sat, 29 Dec 2018 13:52:30 +0000 (14:52 +0100)
commit374d2c47ec956b43ced2879cd8305db616625103
tree3a1811dab756c05b89c3b3d3e9e585c58abec68c
parentd5b0fa6abf725cc9281f3b11fc2a4c0f12df0793
bc: remove special-cased assignment to ibase, it works correctly with general rules

function                                             old     new   delta
zxc_program_print                                    683     681      -2
zxc_program_prep                                      91      89      -2
zxc_program_copyToVar                                300     298      -2
zdc_program_printStream                              146     144      -2
zdc_program_execStr                                  520     518      -2
zdc_program_asciify                                  370     368      -2
zxc_program_exec                                    4016    4012      -4
zdc_program_modexp                                   694     688      -6
zxc_program_num                                     1020     995     -25
zxc_program_binOpPrep                                306     243     -63
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 0/10 up/down: 0/-110)          Total: -110 bytes

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