mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-04-23 19:42:50 -06:00
rename pgf_lzr_linearize_table to pgf_lzr_get_table
This commit is contained in:
@@ -922,8 +922,8 @@ pgf_lzr_linearize_simple(PgfConcr* concr, PgfCncTree ctree,
|
|||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
pgf_lzr_linearize_table(PgfConcr* concr, PgfCncTree ctree,
|
pgf_lzr_get_table(PgfConcr* concr, PgfCncTree ctree,
|
||||||
size_t* n_lins, GuString** labels)
|
size_t* n_lins, GuString** labels)
|
||||||
{
|
{
|
||||||
static GuString s_label = "s";
|
static GuString s_label = "s";
|
||||||
|
|
||||||
|
|||||||
@@ -75,8 +75,8 @@ pgf_lzr_linearize_simple(PgfConcr* concr, PgfCncTree ctree,
|
|||||||
|
|
||||||
|
|
||||||
void
|
void
|
||||||
pgf_lzr_linearize_table(PgfConcr* concr, PgfCncTree ctree,
|
pgf_lzr_get_table(PgfConcr* concr, PgfCncTree ctree,
|
||||||
size_t* n_lins, GuString** labels);
|
size_t* n_lins, GuString** labels);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef PGF_PARSER_H_
|
#ifdef PGF_PARSER_H_
|
||||||
|
|||||||
@@ -470,7 +470,7 @@ Java_org_grammaticalframework_pgf_Concr_tabularLinearize(JNIEnv* env, jobject se
|
|||||||
|
|
||||||
size_t n_lins;
|
size_t n_lins;
|
||||||
GuString* labels;
|
GuString* labels;
|
||||||
pgf_lzr_linearize_table(concr, ctree, &n_lins, &labels);
|
pgf_lzr_get_table(concr, ctree, &n_lins, &labels);
|
||||||
|
|
||||||
for (size_t lin_idx = 0; lin_idx < n_lins; lin_idx++) {
|
for (size_t lin_idx = 0; lin_idx < n_lins; lin_idx++) {
|
||||||
GuStringBuf* sbuf = gu_string_buf(tmp_pool);
|
GuStringBuf* sbuf = gu_string_buf(tmp_pool);
|
||||||
|
|||||||
Reference in New Issue
Block a user