summaryrefslogtreecommitdiff
path: root/src/runtime/c/utils/pgf-parse.c
diff options
context:
space:
mode:
authorkr.angelov <kr.angelov@gmail.com>2013-06-27 09:39:15 +0000
committerkr.angelov <kr.angelov@gmail.com>2013-06-27 09:39:15 +0000
commit155afdf9b76e37f4daed6d7d48dfd9e56844964f (patch)
tree81a0ea3cd21dd64cf147c36949235751268b1b87 /src/runtime/c/utils/pgf-parse.c
parentf4f76e46386e0888215eaf264e03e02a924dc7a7 (diff)
a complete Python API for reading, printing and manipulation of abstract trees and types. This includes dependent types, high-order abstract syntax and implicit arguments
Diffstat (limited to 'src/runtime/c/utils/pgf-parse.c')
-rw-r--r--src/runtime/c/utils/pgf-parse.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/runtime/c/utils/pgf-parse.c b/src/runtime/c/utils/pgf-parse.c
index ba1088890..c64b07434 100644
--- a/src/runtime/c/utils/pgf-parse.c
+++ b/src/runtime/c/utils/pgf-parse.c
@@ -132,7 +132,7 @@ int main(int argc, char* argv[]) {
gu_printf(wtr, err, "%d (%.0f ms): ", ctr, 1000.0 * cpu_time_used);
if (ep != NULL) {
gu_printf(wtr, err, "[%.4f] (", ep->prob);
- pgf_print_expr(ep->expr, 0, wtr, err);
+ pgf_print_expr(ep->expr, NULL, 0, wtr, err);
gu_printf(wtr, err, ")\n");
} else {
gu_printf(wtr, err, "---\n");