The restricted bits could end up set on non-restricted sets.
This case needs to check that we're in a matching set.
}
break;
case 5: /* restrictions: xxxx*/
- i = 0;
- while (known_restrictions[i]) {
- if (!strcmpi(known_restrictions[i], bufp)) {
+ if (chosen_symset_start) {
+ i = 0;
+ while (known_restrictions[i]) {
+ if (!strcmpi(known_restrictions[i], bufp)) {
switch(i) {
case 0: symset[which_set].primary = 1;
break;
break;
}
break; /* while loop */
- }
- i++;
- }
+ }
+ i++;
+ }
+ }
break;
}
} else { /* !SYM_CONTROL */