summaryrefslogtreecommitdiff
path: root/src/runtime/c/utils/pgf-parse.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/runtime/c/utils/pgf-parse.c')
-rw-r--r--src/runtime/c/utils/pgf-parse.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/runtime/c/utils/pgf-parse.c b/src/runtime/c/utils/pgf-parse.c
index 1ecb936a1..991a16361 100644
--- a/src/runtime/c/utils/pgf-parse.c
+++ b/src/runtime/c/utils/pgf-parse.c
@@ -36,7 +36,7 @@ int main(int argc, char* argv[]) {
}
// Create an exception frame that catches all errors.
- GuExn* err = gu_new_exn(NULL, gu_kind(type), pool);
+ GuExn* err = gu_new_exn(pool);
clock_t start = clock();
@@ -109,7 +109,7 @@ int main(int argc, char* argv[]) {
clock_t start = clock();
- GuExn* parse_err = gu_new_exn(NULL, gu_kind(type), ppool);
+ GuExn* parse_err = gu_new_exn(ppool);
GuEnum* result = pgf_parse_with_heuristics(concr, cat, line, heuristics, parse_err, ppool, ppool);
PgfExprProb* ep = NULL;