1
0
forked from GitHub/gf-core

rename pgf_lzr_linearize_table to pgf_lzr_get_table

This commit is contained in:
kr.angelov
2014-03-04 10:13:23 +00:00
parent ddf36bcd62
commit c197de7fbd
3 changed files with 5 additions and 5 deletions

View File

@@ -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";

View File

@@ -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_

View File

@@ -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);