forked from cosmonaut/wraith-lang
Explicitly sets IdNode type tags on creation.
parent
5ab3cc533d
commit
743828450c
|
@ -14,6 +14,7 @@ IdNode* MakeIdNode(NodeType type, char *name, IdNode *parent) {
|
||||||
node->childCount = 0;
|
node->childCount = 0;
|
||||||
node->childCapacity = 0;
|
node->childCapacity = 0;
|
||||||
node->children = NULL;
|
node->children = NULL;
|
||||||
|
node->typeTag = NULL;
|
||||||
return node;
|
return node;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue