X-Git-Url: https://git.bts.cx/sun.git/blobdiff_plain/c14e8cb22c12114bd78aae89e54ccd51ad522c50..b4bfa0d90e747a0f6f3080246823471423a30951:/runtime/src/sun/tree/tree.c?ds=sidebyside diff --git a/runtime/src/sun/tree/tree.c b/runtime/src/sun/tree/tree.c index 118f9c6..9080d3a 100644 --- a/runtime/src/sun/tree/tree.c +++ b/runtime/src/sun/tree/tree.c @@ -58,7 +58,7 @@ SLTNode *sltTreeMap(SLTNode *root, SLTTreeMapCallback callback, SLTTreeMapCallba n->arrayAccessAccess = sltTreeMap(n->arrayAccessAccess, callback, postCallback, userParameter); break; - case SLTNodeTypeTypeAccess: + case SLTNodeTypeMemberAccess: n->typeAccessType = sltTreeMap(n->typeAccessType, callback, postCallback, userParameter); n->typeAccessAccess = sltTreeMap(n->typeAccessAccess, callback, postCallback, userParameter); break; @@ -115,12 +115,12 @@ SLTNode *sltTreeMap(SLTNode *root, SLTTreeMapCallback callback, SLTTreeMapCallba n->variableDefinitionDefaultExpression = sltTreeMap(n->variableDefinitionDefaultExpression, callback, postCallback, userParameter); break; - case SLTNodeTypeTypeDefinition: + case SLTNodeTypeUserDefinedTypeDefinition: n->typeDefinitionIdentifier = sltTreeMap(n->typeDefinitionIdentifier, callback, postCallback, userParameter); n->typeDefinitionMembers = sltTreeMap(n->typeDefinitionMembers, callback, postCallback, userParameter); break; - case SLTNodeTypeTypeMemberDefinition: + case SLTNodeTypeUserDefinedTypeMemberDefinition: n->typeMemberDefinitionType = sltTreeMap(n->typeMemberDefinitionType, callback, postCallback, userParameter); n->typeMemberDefinitionIdentifier = sltTreeMap(n->typeMemberDefinitionIdentifier, callback, postCallback, userParameter); break;