bc: use '\0' insteads of 0xff (BC_PARSE_STREND) as name terminator
authorDenys Vlasenko <vda.linux@googlemail.com>
Wed, 26 Dec 2018 19:02:09 +0000 (20:02 +0100)
committerDenys Vlasenko <vda.linux@googlemail.com>
Wed, 26 Dec 2018 19:02:27 +0000 (20:02 +0100)
commitf706a18f33a5e6360cd7567c6c5fc9714be3ed39
treed3b154a5451c06183050476e1efb5862dd5fe7b5
parent1c69ec1597f0f3ddb8123e9122cd7737debd261c
bc: use '\0' insteads of 0xff (BC_PARSE_STREND) as name terminator

function                                             old     new   delta
zdc_program_printStream                                -     146    +146
zbc_program_exec                                    4003    4016     +13
zdc_parse_expr                                       473     470      -3
bc_parse_pushName                                     31      20     -11
bc_program_name                                       63      34     -29
zbc_program_pushArray                                147       -    -147
------------------------------------------------------------------------------
(add/remove: 1/1 grow/shrink: 1/3 up/down: 159/-190)          Total: -31 bytes

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