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