bc: allow only one <newline> between if() and stmt
authorDenys Vlasenko <vda.linux@googlemail.com>
Sun, 16 Dec 2018 19:41:32 +0000 (20:41 +0100)
committerDenys Vlasenko <vda.linux@googlemail.com>
Sun, 16 Dec 2018 19:41:32 +0000 (20:41 +0100)
commit2e8be023cbd96c54256b5908837039100dc4fc45
treef003d4c8f65613e0203354b76c0e4969c3bd83a4
parente6c40c48d96169ff27471c63c33e568e96fd5b82
bc: allow only one <newline> between if() and stmt

Attempt to have more than one causes this error message:

$ bc -q
if (1)<cr>
<cr>
bc: no statement after 'if'

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