From 2f7352b4f5d9d319de03b7bce2b877e2be90e8c3 Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Wed, 26 Dec 2018 18:59:42 +0100 Subject: 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 --- miscutils/bc.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'miscutils') diff --git a/miscutils/bc.c b/miscutils/bc.c index 632158b7f..2237a41b5 100644 --- a/miscutils/bc.c +++ b/miscutils/bc.c @@ -2901,8 +2901,9 @@ static BC_STATUS zbc_lex_next(void) BcStatus s; p->lex_last = p->lex; - if (p->lex_last == XC_LEX_EOF) - RETURN_STATUS(bc_error("end of file")); +//why? +// if (p->lex_last == XC_LEX_EOF) +// RETURN_STATUS(bc_error("end of file")); // Loop until failure or we don't have whitespace. This // is so the parser doesn't get inundated with whitespace. -- cgit v1.2.3