projects
/
oweals
/
busybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b1b7996
)
bc: comment out code which appears to be never reached
author
Denys Vlasenko
<vda.linux@googlemail.com>
Wed, 26 Dec 2018 17:59:42 +0000
(18:59 +0100)
committer
Denys Vlasenko
<vda.linux@googlemail.com>
Wed, 26 Dec 2018 17:59:42 +0000
(18:59 +0100)
function old new delta
zbc_lex_next 1587 1568 -19
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
miscutils/bc.c
patch
|
blob
|
history
diff --git
a/miscutils/bc.c
b/miscutils/bc.c
index 632158b7f94a97c4973172fbbe81db21d6f0c403..2237a41b5899354520355e82ce37a77d557c4945 100644
(file)
--- 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.