bc: replace G.eof with a special exit code of bc_vm_stdin()
authorDenys Vlasenko <vda.linux@googlemail.com>
Fri, 7 Dec 2018 15:35:43 +0000 (16:35 +0100)
committerDenys Vlasenko <vda.linux@googlemail.com>
Fri, 7 Dec 2018 15:35:43 +0000 (16:35 +0100)
commitf522dd94207275ac4a2706c4927a12c37707ff5a
tree20cbddd9345b839fafeec59f9fd2e982873db2e6
parent2d615fee3879f7eec6fd51c468ce074cc6e7a47c
bc: replace G.eof with a special exit code of bc_vm_stdin()

function                                             old     new   delta
bc_read_line                                         305     307      +2
bc_vm_run                                            701     689     -12
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 1/1 up/down: 2/-12)             Total: -10 bytes

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