1
0
forked from GitHub/gf-core

remove the meta_item variable from the parse state

This commit is contained in:
krasimir
2015-03-06 15:18:50 +00:00
parent 82763282bb
commit 35c4b5f3eb

View File

@@ -72,7 +72,6 @@ struct PgfParseState {
PgfParseState* next;
PgfItemBuf* agenda;
PgfItem* meta_item;
PgfContsMap* conts_map;
PgfGenCatMap* generated_cats;
@@ -1214,7 +1213,6 @@ pgf_new_parse_state(PgfParsing* ps, size_t start_offset,
PgfParseState* state = gu_new(PgfParseState, ps->pool);
state->next = *pstate;
state->agenda = gu_new_buf(PgfItem*, ps->pool);
state->meta_item = NULL;
state->generated_cats = gu_new_addr_map(PgfItemConts*, PgfCCat*, &gu_null_struct, ps->pool);
state->conts_map = gu_new_addr_map(PgfCCat*, PgfItemContss*, &gu_null_struct, ps->pool);
state->needs_bind = (bind_type == BIND_NONE) &&