Commit 52a4d9b02c92be76a71f9b469b6555f022d25a1c

Pierre Le Marre 2025-06-17T11:03:12

rules: Require layout or variant to enable %i expansion Before this commit, the following rule would always match: ! model = symbols * = s:%i and set symbols to `s:1`, but the `:%i` is aimed to be used only when the rules header specifies the layout or the variant. Let’s be strict and disallow matching this kind of buggy rule. Emit an error message so that we can detect it.