{
char tagname[4];
OTF_Tag tag;
+ int negate = 0;
if (*features == '*')
{
break;
}
+ if (*features == '~')
+ negate = 1, features++;
for (i = 0; *features && *features != ','; i++, features++)
tagname[i] = *features;
if (*features)
feature = FeatureList->Feature + i;
if (tag == feature->FeatureTag)
{
- for (j = 0; j < feature->LookupCount; j++)
- lookup_indices[n++] = feature->LookupListIndex[j];
+ if (! negate)
+ for (j = 0; j < feature->LookupCount; j++)
+ lookup_indices[n++] = feature->LookupListIndex[j];
feature_table[i] = 1;
break;
}