summaryrefslogtreecommitdiff
path: root/miscutils/bc.c
diff options
context:
space:
mode:
authorDenys Vlasenko2018-12-21 00:39:02 +0100
committerDenys Vlasenko2018-12-21 00:39:02 +0100
commit447dc02c2759e8c965dfcb3280b335b49a8c3a61 (patch)
treebb6dc311b1d303703a08c0c12f73dad62c57af54 /miscutils/bc.c
parent52caa007e3f32225b6cd9f899480362c4563b023 (diff)
downloadbusybox-447dc02c2759e8c965dfcb3280b335b49a8c3a61.zip
busybox-447dc02c2759e8c965dfcb3280b335b49a8c3a61.tar.gz
bc: fix comment
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'miscutils/bc.c')
-rw-r--r--miscutils/bc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/miscutils/bc.c b/miscutils/bc.c
index e7983f3..05dbd62 100644
--- a/miscutils/bc.c
+++ b/miscutils/bc.c
@@ -4206,7 +4206,7 @@ static BC_STATUS zbc_parse_for(BcParse *p)
if (p->l.t.t != BC_LEX_SCOLON)
s = zbc_parse_expr(p, BC_PARSE_REL);
else {
- // Set this for the next call to bc_parse_number.
+ // Set this for the next call to bc_parse_pushNUM().
// This is safe to set because the current token is a semicolon,
// which has no string requirement.
bc_vec_string(&p->l.t.v, 1, "1");