← Commit list

2f7352b4f

Denys Vlasenko
Denys Vlasenko
2018-12-26
SUCCESS Duration: 151s

Subject

bc: comment out code which appears to be never reached

Binary

No binary (build failed)

Architecture & Compiler Flags

Architecture: x86_64-linux-gnu Compiler: gcc (Ubuntu 11.4.0-1ubuntu1~22.04.3) 11.4.0

—

Build Log

(log yok)

Commit Diff GitHub →

miscutils/bc.c+3 -2
@@ -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.