I have two rules:
substitute (tagX LOC) (tagX LOC tagY) (tagX LOC);
substitute (tagX TEMP) (tagX TEMP tagY) (tagX TEMP);
Is there any way of conflating these in one rule?
I wondered about creating a set:
CLASSTAGS = LOC TEMP;
and using that in the rules, but I can't see that this would work, because the substitute locations and the thing being substituted both contain actual tags as well as what would be a set.
Is the assumption that this can't be done correct?
Pob hwyl / Best wishes