version 1.120, 2002/03/07 15:50:49
|
version 1.121, 2002/03/08 09:45:36
|
Line 4224 static char *ParseGenericSelector (char
|
Line 4224 static char *ParseGenericSelector (char
|
{ |
{ |
/* look at the current context to see if the type is already |
/* look at the current context to see if the type is already |
stored */ |
stored */ |
j = 0; |
j = 1; |
while (j < k && ctxt->name[j] != elType.ElTypeNum) |
while (j < k && ctxt->name[j] != elType.ElTypeNum) |
j++; |
j++; |
if (j == k) |
if (j == k) |
{ |
{ |
ctxt->name[j] = elType.ElTypeNum; |
ctxt->name[j] = elType.ElTypeNum; |
if (j != 0) |
if (j != 0) |
{ |
ctxt->names_nb[j] = 1; |
ctxt->names_nb[j] = 1; |
|
/* skip that position (but k will be incremented later) */ |
|
k--; |
|
} |
|
} |
} |
else |
else |
/* increment the number of ancestor levels */ |
/* increment the number of ancestor levels */ |