mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-05-20 00:22:51 -06:00
use pgf_linearize instead of pgf_lzr_linearize_simple in pgf-translate.c
This commit is contained in:
@@ -34,7 +34,7 @@ print_result(PgfExprProb* ep, PgfConcr* to_concr,
|
|||||||
gu_putc(' ', out, err);
|
gu_putc(' ', out, err);
|
||||||
// Linearize the concrete tree as a simple
|
// Linearize the concrete tree as a simple
|
||||||
// sequence of strings.
|
// sequence of strings.
|
||||||
pgf_lzr_linearize_simple(to_concr, ctree, 0, out, err);
|
pgf_linearize(to_concr, ctree, out, err);
|
||||||
if (gu_exn_caught(err) == gu_type(PgfLinNonExist)) {
|
if (gu_exn_caught(err) == gu_type(PgfLinNonExist)) {
|
||||||
// encountered nonExist. Unfortunately there
|
// encountered nonExist. Unfortunately there
|
||||||
// might be some output printed already. The
|
// might be some output printed already. The
|
||||||
|
|||||||
Reference in New Issue
Block a user