forked from GitHub/gf-core
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;
|
typedef GuMap PgfProductionIdx;
|
||||||
extern GU_DECLARE_TYPE(PgfProductionIdx, GuMap);
|
extern GU_DECLARE_TYPE(PgfProductionIdx, GuMap);
|
||||||
|
|
||||||
typedef GuMap PgfLeftcornerCatIdx;
|
|
||||||
extern GU_DECLARE_TYPE(PgfLeftcornerCatIdx, GuMap);
|
|
||||||
|
|
||||||
typedef GuMap PgfLeftcornerTokIdx;
|
typedef GuMap PgfLeftcornerTokIdx;
|
||||||
extern GU_DECLARE_TYPE(PgfLeftcornerTokIdx, GuMap);
|
extern GU_DECLARE_TYPE(PgfLeftcornerTokIdx, GuMap);
|
||||||
|
|
||||||
@@ -233,7 +230,6 @@ struct PgfConcr {
|
|||||||
PgfCncFunOverloadMap* fun_indices;
|
PgfCncFunOverloadMap* fun_indices;
|
||||||
PgfCncOverloadMap* coerce_idx;
|
PgfCncOverloadMap* coerce_idx;
|
||||||
PgfProductionIdx* epsilon_idx;
|
PgfProductionIdx* epsilon_idx;
|
||||||
PgfLeftcornerCatIdx* leftcorner_cat_idx;
|
|
||||||
PgfLeftcornerTokIdx* leftcorner_tok_idx;
|
PgfLeftcornerTokIdx* leftcorner_tok_idx;
|
||||||
PgfCncFuns* cncfuns;
|
PgfCncFuns* cncfuns;
|
||||||
PgfSequences* sequences;
|
PgfSequences* sequences;
|
||||||
|
|||||||
@@ -138,10 +138,6 @@ struct PgfItem {
|
|||||||
prob_t inside_prob;
|
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_DEFINE_TYPE(PgfLeftcornerTokIdx, GuStringMap,
|
||||||
gu_ptr_type(PgfProductionIdx), &gu_null_struct);
|
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->fun_indices = gu_map_type_new(PgfCncFunOverloadMap, rdr->opool);
|
||||||
concr->coerce_idx = gu_map_type_new(PgfCncOverloadMap, rdr->opool);
|
concr->coerce_idx = gu_map_type_new(PgfCncOverloadMap, rdr->opool);
|
||||||
concr->epsilon_idx = gu_map_type_new(PgfProductionIdx, 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);
|
concr->leftcorner_tok_idx = gu_map_type_new(PgfLeftcornerTokIdx,rdr->opool);
|
||||||
pgf_read_lindefs(rdr, concr);
|
pgf_read_lindefs(rdr, concr);
|
||||||
pgf_read_ccats(rdr, concr);
|
pgf_read_ccats(rdr, concr);
|
||||||
|
|||||||
Reference in New Issue
Block a user