summaryrefslogtreecommitdiffstats
path: root/parse.c
diff options
context:
space:
mode:
Diffstat (limited to 'parse.c')
-rw-r--r--parse.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/parse.c b/parse.c
index 5ce78c3..ef695de 100644
--- a/parse.c
+++ b/parse.c
@@ -110,7 +110,7 @@ void free_expr(struct expr *expr) {
free(expr->regex);
}
- free_bfs_printf(expr->printf);
+ bfs_printf_free(expr->printf);
free_bfs_exec(expr->execbuf);
free_expr(expr->lhs);
@@ -1272,7 +1272,7 @@ static struct expr *parse_fprintf(struct parser_state *state, int arg1, int arg2
goto fail;
}
- expr->printf = parse_bfs_printf(format, state->ctx);
+ expr->printf = bfs_printf_parse(state->ctx, format);
if (!expr->printf) {
goto fail;
}
@@ -2010,7 +2010,7 @@ static struct expr *parse_printf(struct parser_state *state, int arg1, int arg2)
init_print_expr(state, expr);
- expr->printf = parse_bfs_printf(expr->sdata, state->ctx);
+ expr->printf = bfs_printf_parse(state->ctx, expr->sdata);
if (!expr->printf) {
free_expr(expr);
return NULL;