libpgf: debugging framework for the parser

This commit is contained in:
kr.angelov
2012-01-23 15:49:29 +00:00
parent fcd2c2905e
commit 5ccd75c8b9
3 changed files with 172 additions and 25 deletions

View File

@@ -678,7 +678,7 @@ pgf_read_new_PgfConcr(GuType* type, PgfReader* rdr, GuPool* pool,
PgfCCatCbCtx ctx = { { pgf_read_ccat_cb }, extra_ccats };
gu_map_iter(concr->ccats, &ctx.fn, NULL);
concr->extra_ccats = gu_buf_freeze(extra_ccats, rdr->opool);
(void) pgf_read_int(rdr); // totalcats
concr->max_fid = pgf_read_int(rdr);
return concr;
}