mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-05-25 10:48:54 -06:00
forgot to add one #ifdef
This commit is contained in:
@@ -675,10 +675,12 @@ pgf_item_copy(PgfItem* item, GuPool* pool, PgfParsing* ps)
|
|||||||
}
|
}
|
||||||
memcpy(copy, item, sizeof(PgfItem));
|
memcpy(copy, item, sizeof(PgfItem));
|
||||||
|
|
||||||
|
#ifdef PGF_COUNTS_DEBUG
|
||||||
if (ps != NULL) {
|
if (ps != NULL) {
|
||||||
ps->item_count++;
|
ps->item_count++;
|
||||||
ps->real_count++;
|
ps->real_count++;
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
item->conts->ref_count++;
|
item->conts->ref_count++;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user