bc: POSIX error/warn functions can be 'z' functions too
authorDenys Vlasenko <vda.linux@googlemail.com>
Mon, 24 Dec 2018 17:11:41 +0000 (18:11 +0100)
committerDenys Vlasenko <vda.linux@googlemail.com>
Mon, 24 Dec 2018 17:11:41 +0000 (18:11 +0100)
commit79587cb442d022bf8d9e388398834270785d2049
tree6a2c1991d568fdfc32fb10c4e27d9e644dd00989
parent65b6fe09c4c6a25090b86ec4a6abcc6ab92f767e
bc: POSIX error/warn functions can be 'z' functions too

In non-interactive config, they either return 'success', or do not return.

function                                             old     new   delta
zbc_posix_error_fmt                                   41      39      -2
bc_parse_expr_empty_ok                              1751    1744      -7
zbc_parse_stmt_possibly_auto                        1322    1314      -8
------------------------------------------------------------------------------
(add/remove: 5/5 grow/shrink: 0/2 up/down: 118/-135)          Total: -17 bytes

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