varlen = true;
break;
}
}
ConsAltNode varANode = null, altNode, listNode;
if (varlen) {
node.p = varANode = newAltNode(null, null);
listNode = newListNode(null, null);
varANode.setCar(listNode);
altNode = newAltNode(null, null);
listNode.setCar(altNode);
} else {
node.p = altNode = newAltNode(null, null);
}
StringNode snode = new StringNode(bytes, p, p + slen);
altNode.setCar(snode);
for (int i=0; i<itemNum; i++) {
snode = new StringNode();
for (int j = 0; j < items[i].codeLen; j++) snode.catCode(items[i].code[j], enc);
ConsAltNode an = newAltNode(null, null);
if (items[i].byteLen != slen) {
int q = p + items[i].byteLen;
if (q < end) {
Node rem = expandCaseFoldMakeRemString(bytes, q, end);
listNode = ConsAltNode.listAdd(null, snode);
ConsAltNode.listAdd(listNode, rem);
an.setCar(listNode);
} else {
an.setCar(snode);
}
varANode.setCdr(an);
varANode = an;
} else {
an.setCar(snode);
altNode.setCdr(an);
altNode = an;
}
}
return varlen;