bc: comment out code which appears to be never reached

function                                             old     new   delta
zbc_lex_next                                        1587    1568     -19

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
Denys Vlasenko 2018-12-26 18:59:42 +01:00
parent b1b7996a2a
commit 2f7352b4f5

View File

@ -2901,8 +2901,9 @@ static BC_STATUS zbc_lex_next(void)
BcStatus s; BcStatus s;
p->lex_last = p->lex; p->lex_last = p->lex;
if (p->lex_last == XC_LEX_EOF) //why?
RETURN_STATUS(bc_error("end of file")); // if (p->lex_last == XC_LEX_EOF)
// RETURN_STATUS(bc_error("end of file"));
// Loop until failure or we don't have whitespace. This // Loop until failure or we don't have whitespace. This
// is so the parser doesn't get inundated with whitespace. // is so the parser doesn't get inundated with whitespace.