forked from GitHub/gf-core
C runtime: fix the debug modes in the parser and in the reasoner after the changes in the printer
This commit is contained in:
@@ -103,7 +103,7 @@ pgf_print_parent_state(PgfExprState* st,
|
||||
pgf_print_parent_state(parent, wtr, err, stack);
|
||||
|
||||
gu_puts(" (", wtr, err);
|
||||
pgf_print_expr(st->expr, 0, wtr, err);
|
||||
pgf_print_expr(st->expr, NULL, 0, wtr, err);
|
||||
}
|
||||
|
||||
static void
|
||||
@@ -125,7 +125,7 @@ pgf_print_expr_state(PgfExprState* st,
|
||||
gu_puts(" (", wtr, err);
|
||||
else
|
||||
gu_puts(" ", wtr, err);
|
||||
pgf_print_expr(st->expr, 0, wtr, err);
|
||||
pgf_print_expr(st->expr, NULL, 0, wtr, err);
|
||||
|
||||
size_t n_counts = gu_buf_length(stack);
|
||||
for (size_t i = 0; i < n_counts; i++) {
|
||||
|
||||
Reference in New Issue
Block a user