summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--miscutils/bc.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/miscutils/bc.c b/miscutils/bc.c
index 32e002913..e3e8198b7 100644
--- a/miscutils/bc.c
+++ b/miscutils/bc.c
@@ -7575,11 +7575,7 @@ static int bc_vm_init(const char *env_len)
if (IS_BC)
IF_BC(bc_vm_envArgs();)
bc_program_init();
- if (IS_BC) {
- IF_BC(bc_parse_init(&G.prs, BC_PROG_MAIN);)
- } else {
- IF_DC(dc_parse_init(&G.prs, BC_PROG_MAIN);)
- }
+ common_parse_init(&G.prs, BC_PROG_MAIN);
if (isatty(0)) {
#if ENABLE_FEATURE_BC_SIGNALS