1
0
forked from GitHub/gf-core

added an API for printing the PGF to human readable format

This commit is contained in:
kr.angelov
2012-01-21 10:27:55 +00:00
parent d164ddfbe1
commit 28bce1cdc0
8 changed files with 94 additions and 34 deletions

View File

@@ -144,7 +144,7 @@ int main(int argc, char* argv[]) {
}
gu_putc(' ', wtr, err);
// Write out the abstract syntax tree
pgf_expr_print(expr, wtr, err);
pgf_print_expr(expr, 0, wtr, err);
gu_putc('\n', wtr, err);
// Enumerate the concrete syntax trees corresponding