diff options
author | Leo Tenenbaum <pommicket@gmail.com> | 2020-01-08 22:34:18 -0500 |
---|---|---|
committer | Leo Tenenbaum <pommicket@gmail.com> | 2020-01-08 22:34:18 -0500 |
commit | f9aeefb03ed8ebd5fe40e4aae8fbcaf7c4e94db7 (patch) | |
tree | 27f9fcf8e3d8256c9ff248c5d9093e49d2aa763b /identifiers.c | |
parent | 18b73cd4396593cbb5723096f25173f9769b83ae (diff) |
importing identifiers
Diffstat (limited to 'identifiers.c')
-rw-r--r-- | identifiers.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/identifiers.c b/identifiers.c index 3bb3eb1..e960a14 100644 --- a/identifiers.c +++ b/identifiers.c @@ -31,13 +31,6 @@ static int isident(int c) { static Identifier ident_new(Identifiers *ids, Identifier parent, unsigned char index_in_parent) { IdentTree *tree = block_arr_add(&ids->trees); memset(tree, 0, sizeof *tree); /* use zero value of IdentTree */ -#ifdef NONZERO_NULL_PTRS - tree->parent = NULL; - for (size_t i = 0; i < TREE_NCHILDREN; ++i) - tree->children[i] = NULL; - tree->decls = NULL; - tree->pkg = NULL; -#endif tree->parent = parent; if (parent) tree->depth = (uint16_t)(parent->depth + 1); |