- for (cp= argv[1]+1, ti=0; ti<tc; ti++) {
- types_a[ti]= strtoul(cp,&cp,10);
- if ((ch= *cp)) {
- if (ch != ',') usageerr("unexpected char (not comma) in or between types");
+ for (cp= argv[1]+1, ti=0; ti<tc; ) {
+ types_a[ti]= 0;
+ for (;;) {
+ types_a[ti] |= strtoul(cp,&cp,0);
+ ch= *cp;
+ if (!ch) break;