]> git.bts.cx Git - sun.git/blobdiff - runtime/src/sun/tree/tree.c
Groundwork for arrays
[sun.git] / runtime / src / sun / tree / tree.c
index 118f9c633ff032155a2c5f5987fa9e195f74ce88..9080d3a8005bdec72771cd71085b4386efbebe45 100644 (file)
@@ -58,7 +58,7 @@ SLTNode *sltTreeMap(SLTNode *root, SLTTreeMapCallback callback, SLTTreeMapCallba
                                n->arrayAccessAccess = sltTreeMap(n->arrayAccessAccess, callback, postCallback, userParameter);
                                break;
 
                                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;
                                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;
 
                                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;
 
                                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;
                                n->typeMemberDefinitionType = sltTreeMap(n->typeMemberDefinitionType, callback, postCallback, userParameter);
                                n->typeMemberDefinitionIdentifier = sltTreeMap(n->typeMemberDefinitionIdentifier, callback, postCallback, userParameter);
                                break;