a major reimplementation of the linearizer in the C runtime

This commit is contained in:
kr.angelov
2012-12-19 09:07:05 +00:00
parent 1e8fcd8b1f
commit 5c9ee467a9
4 changed files with 279 additions and 340 deletions

View File

@@ -754,8 +754,8 @@ pgf_read_new_PgfConcr(GuType* type, PgfReader* rdr, GuPool* pool,
GuMapType* ccats_t = gu_type_cast(gu_type(PgfCCatMap), GuMap);
concr->ccats =
gu_new_int_map(PgfCCat*, &gu_null_struct, pool);
concr->fun_indices = gu_map_type_new(PgfFunIndices, pool);
concr->coerce_idx = gu_map_type_new(PgfCoerceIdx, pool);
concr->fun_indices = gu_map_type_new(PgfCncFunOverloadMap, pool);
concr->coerce_idx = gu_map_type_new(PgfCncOverloadMap, pool);
concr->epsilon_idx = gu_map_type_new(PgfProductionIdx, pool);
concr->leftcorner_cat_idx = gu_map_type_new(PgfLeftcornerCatIdx,pool);
concr->leftcorner_tok_idx = gu_map_type_new(PgfLeftcornerTokIdx,pool);