&& format.charAt(fIndex) == '^') {
isNegated = true;
fIndex++;
}
IntSet set = new IntSet();
while (true) {
if (fIndex == fmtLen) {
env.warning(L.l("expected ']', saw end of string"));
break loop;
}
char ch2 = format.charAt(fIndex++);
if (ch2 == ']') {
break;
}
else {
set.union(ch2);
}
}
if (isNegated)
segmentList.add(new ScanfSetNegated(set));