mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-04-09 04:59:31 -06:00
remove leftcorner_cat_idx which is now redundant
This commit is contained in:
@@ -157,9 +157,6 @@ extern GU_DECLARE_TYPE(PgfCncOverloadMap, GuMap);
|
||||
typedef GuMap PgfProductionIdx;
|
||||
extern GU_DECLARE_TYPE(PgfProductionIdx, GuMap);
|
||||
|
||||
typedef GuMap PgfLeftcornerCatIdx;
|
||||
extern GU_DECLARE_TYPE(PgfLeftcornerCatIdx, GuMap);
|
||||
|
||||
typedef GuMap PgfLeftcornerTokIdx;
|
||||
extern GU_DECLARE_TYPE(PgfLeftcornerTokIdx, GuMap);
|
||||
|
||||
@@ -233,7 +230,6 @@ struct PgfConcr {
|
||||
PgfCncFunOverloadMap* fun_indices;
|
||||
PgfCncOverloadMap* coerce_idx;
|
||||
PgfProductionIdx* epsilon_idx;
|
||||
PgfLeftcornerCatIdx* leftcorner_cat_idx;
|
||||
PgfLeftcornerTokIdx* leftcorner_tok_idx;
|
||||
PgfCncFuns* cncfuns;
|
||||
PgfSequences* sequences;
|
||||
|
||||
@@ -138,10 +138,6 @@ struct PgfItem {
|
||||
prob_t inside_prob;
|
||||
};
|
||||
|
||||
GU_DEFINE_TYPE(PgfLeftcornerCatIdx, GuMap,
|
||||
gu_type(PgfCFCat), &pgf_cfcat_hasher,
|
||||
gu_ptr_type(PgfProductionIdx), &gu_null_struct);
|
||||
|
||||
GU_DEFINE_TYPE(PgfLeftcornerTokIdx, GuStringMap,
|
||||
gu_ptr_type(PgfProductionIdx), &gu_null_struct);
|
||||
|
||||
|
||||
@@ -1128,7 +1128,6 @@ pgf_read_concrete(PgfReader* rdr, PgfAbstr* abstr)
|
||||
concr->fun_indices = gu_map_type_new(PgfCncFunOverloadMap, rdr->opool);
|
||||
concr->coerce_idx = gu_map_type_new(PgfCncOverloadMap, rdr->opool);
|
||||
concr->epsilon_idx = gu_map_type_new(PgfProductionIdx, rdr->opool);
|
||||
concr->leftcorner_cat_idx = gu_map_type_new(PgfLeftcornerCatIdx,rdr->opool);
|
||||
concr->leftcorner_tok_idx = gu_map_type_new(PgfLeftcornerTokIdx,rdr->opool);
|
||||
pgf_read_lindefs(rdr, concr);
|
||||
pgf_read_ccats(rdr, concr);
|
||||
|
||||
Reference in New Issue
Block a user