1
0
forked from GitHub/gf-core

fix pgf-translate to use the NERC again

This commit is contained in:
krasimir
2015-05-07 14:49:30 +00:00
parent 01c4836d4d
commit 7e43e5727a

View File

@@ -155,7 +155,9 @@ int main(int argc, char* argv[]) {
GuExn* parse_err = gu_new_exn(ppool);
result =
pgf_parse(from_concr, cat, line, parse_err, ppool, ppool);
pgf_parse_with_heuristics(from_concr, cat, line,
-1, callbacks,
parse_err, ppool, ppool);
if (!gu_ok(parse_err)) {
if (gu_exn_caught(parse_err, PgfExn)) {
GuString msg = gu_exn_caught_data(parse_err);