mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-05-06 01:32:50 -06:00
a major refactoring in the C runtime. GuList is now removed and replaced with GuSeq. The GuSeq/GuBuf API is simplified
This commit is contained in:
@@ -18,7 +18,7 @@ pgf_match_string_lit(PgfConcr* concr, PgfItem* item, PgfToken tok,
|
||||
GuPool* tmp_pool = gu_new_pool();
|
||||
|
||||
size_t lin_idx;
|
||||
PgfSequence seq;
|
||||
PgfSequence* seq;
|
||||
pgf_item_sequence(item, &lin_idx, &seq, tmp_pool);
|
||||
gu_assert(lin_idx == 0);
|
||||
|
||||
@@ -66,7 +66,7 @@ pgf_match_int_lit(PgfConcr* concr, PgfItem* item, PgfToken tok,
|
||||
GuPool* tmp_pool = gu_new_pool();
|
||||
|
||||
size_t lin_idx;
|
||||
PgfSequence seq;
|
||||
PgfSequence* seq;
|
||||
pgf_item_sequence(item, &lin_idx, &seq, tmp_pool);
|
||||
gu_assert(lin_idx == 0);
|
||||
|
||||
@@ -123,7 +123,7 @@ pgf_match_float_lit(PgfConcr* concr, PgfItem* item, PgfToken tok,
|
||||
GuPool* tmp_pool = gu_new_pool();
|
||||
|
||||
size_t lin_idx;
|
||||
PgfSequence seq;
|
||||
PgfSequence* seq;
|
||||
pgf_item_sequence(item, &lin_idx, &seq, tmp_pool);
|
||||
gu_assert(lin_idx == 0);
|
||||
|
||||
@@ -180,7 +180,7 @@ pgf_match_name_lit(PgfConcr* concr, PgfItem* item, PgfToken tok,
|
||||
GuPool* tmp_pool = gu_new_pool();
|
||||
|
||||
size_t lin_idx;
|
||||
PgfSequence seq;
|
||||
PgfSequence* seq;
|
||||
pgf_item_sequence(item, &lin_idx, &seq, tmp_pool);
|
||||
|
||||
gu_assert(lin_idx == 0);
|
||||
|
||||
Reference in New Issue
Block a user