bc: for "dc only" remove handling of LAST, move OBASE enums up to IBASE
authorDenys Vlasenko <vda.linux@googlemail.com>
Sun, 23 Dec 2018 23:50:32 +0000 (00:50 +0100)
committerDenys Vlasenko <vda.linux@googlemail.com>
Sun, 23 Dec 2018 23:50:32 +0000 (00:50 +0100)
commitad0bd381e97214c6c978f5214bcd328bfea4b3da
tree74a169a96098056a28bc9359a48659f7b2cd5369
parent9471bd46603d9f61c76d672b0a679c2b9446c3cf
bc: for "dc only" remove handling of LAST, move OBASE enums up to IBASE

function                                             old     new   delta
dc_LEX_to_INST                                         -      82     +82
bc_parse_pushNUM                                       -      62     +62
zbc_program_num                                      981     978      -3
bc_result_free                                        46      43      -3
zbc_program_binOpPrep                                305     300      -5
static.msg                                            24      12     -12
zbc_program_exec                                    4013    3994     -19
zdc_parse_expr                                       583     507     -76
dc_parse_insts                                        83       -     -83
------------------------------------------------------------------------------
(add/remove: 2/1 grow/shrink: 0/6 up/down: 144/-201)          Total: -57 bytes

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