From 3ae1f696aa86665b3b41f30a677944d12d29f025 Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Wed, 1 Nov 2017 20:00:52 -0700 Subject: [PATCH] Fixed remove rule rule. --- lib/metaprogramming.nom | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/metaprogramming.nom b/lib/metaprogramming.nom index fe1d50a..0d5e575 100644 --- a/lib/metaprogramming.nom +++ b/lib/metaprogramming.nom @@ -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