Add-only-no-ccont-rule added as supertype to my new lexical rule

grammar_matrix

#1

I created a couple new lexical rule types, one inheriting from the other, and I don’t want add-only-no-ccont-rule as a supertype there, but it gets added automatically somehow. I did not add add-only-no-ccont-rule as a supertype explicitly anywhere. Where does it get added and how do I make it stop?

new_lrt1 := stuff.

get:
new_lrt2 := new_lrt1 & add-only-no-ccont-rule & stuff.

want:
new_lrt2 := new_lrt1 & [ stuff ].


#2

It is added by default by morphotactics.py.

To avoid it, add the name of the new lexical rule to LEX_RULE_SUPERTYPES in morphotactics.py