aboutsummaryrefslogtreecommitdiff
path: root/miscutils
diff options
context:
space:
mode:
Diffstat (limited to 'miscutils')
-rw-r--r--miscutils/bc.c5
1 files changed, 3 insertions, 2 deletions
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.