switch (type) {
case SLTNodeTypeModule:
case SLTNodeTypeFunctionDefinition:
- case SLTNodeTypeTypeDefinition:
+ case SLTNodeTypeUserDefinedTypeDefinition:
case SLTNodeTypeForIteration:
case SLTNodeTypeDoIteration:
case SLTNodeTypeWhileIteration:
return r;
}
- case SLTNodeTypeTypeAccess:
+ case SLTNodeTypeMemberAccess:
generator_assert_msg(false, "not implemented: %s", sltNodeToString(node));
return -1;
for (SLTNode *n = node->moduleStatementsAndDefinitions; n != NULL; n = n->sequenceNext) {
switch (n->sequenceNode->type) {
//case SLTNodeTypeVariableDefinition:
- case SLTNodeTypeTypeDefinition:
+ case SLTNodeTypeUserDefinedTypeDefinition:
case SLTNodeTypeFunctionDefinition:
// Do nothing...
break;