Use reference counting for types.

This commit is contained in:
2018-04-17 22:14:07 -07:00
parent 264f420186
commit 3ada78a557
9 changed files with 58 additions and 59 deletions

View File

@@ -35,7 +35,7 @@ struct libab_tree_s {
/**
* The parse type of this node, if applicable.
*/
libab_parsetype* parse_type;
libab_ref type;
/**
* The variant of tree node.
*/