Fixed remove rule rule.

This commit is contained in:
Bruce Hill 2017-11-01 20:00:52 -07:00
parent 87b2cce8e5
commit 3ae1f696aa

View File

@ -55,7 +55,7 @@ parse [compile %macro_def to code %body] as: escaped compile \%macro_def to code
rule [remove rule %stub] =:
lua> ".."
|local def = nomsu.defs[stub];
|local def = nomsu.defs[\(%stub)];
|for _, alias in ipairs(def.aliases) do
| nomsu.defs[alias] = nil;
|end