bc: fix handling of comment/string interactions while buffering input
authorDenys Vlasenko <vda.linux@googlemail.com>
Wed, 26 Dec 2018 11:23:05 +0000 (12:23 +0100)
committerDenys Vlasenko <vda.linux@googlemail.com>
Wed, 26 Dec 2018 11:23:05 +0000 (12:23 +0100)
commit63ad7993845fbf59264e22295ae9c06250832119
tree8907aa8c1819109955edf4b449a5045fd1f6441e
parent94576d2b972b3bd136fbe8057c95690ae36ea8c9
bc: fix handling of comment/string interactions while buffering input

function                                             old     new   delta
zbc_lex_next                                        1965    1982     +17
zbc_num_divmod                                       150     156      +6
bc_read_line                                         411     394     -17
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 2/1 up/down: 23/-17)              Total: 6 bytes

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