Fixed remove rule rule.
This commit is contained in:
parent
87b2cce8e5
commit
3ae1f696aa
@ -55,7 +55,7 @@ parse [compile %macro_def to code %body] as: escaped compile \%macro_def to code
|
|||||||
|
|
||||||
rule [remove rule %stub] =:
|
rule [remove rule %stub] =:
|
||||||
lua> ".."
|
lua> ".."
|
||||||
|local def = nomsu.defs[stub];
|
|local def = nomsu.defs[\(%stub)];
|
||||||
|for _, alias in ipairs(def.aliases) do
|
|for _, alias in ipairs(def.aliases) do
|
||||||
| nomsu.defs[alias] = nil;
|
| nomsu.defs[alias] = nil;
|
||||||
|end
|
|end
|
||||||
|
Loading…
Reference in New Issue
Block a user