aboutsummaryrefslogtreecommitdiff
path: root/lib/utils.nom
diff options
context:
space:
mode:
authorBruce Hill <bitbucket@bruce-hill.com>2018-01-11 01:57:52 -0800
committerBruce Hill <bitbucket@bruce-hill.com>2018-01-11 01:57:52 -0800
commit199161a4389bcf496930e269a29bba652fdf6bd6 (patch)
tree0403ce4ba4948b57d520ab92429eb8206dfbbc4f /lib/utils.nom
parent82cc997ddf3712a1d36521ba6128ec4858a8f405 (diff)
Renamed def->define_action and defmacro->define_macro
Diffstat (limited to 'lib/utils.nom')
-rw-r--r--lib/utils.nom2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/utils.nom b/lib/utils.nom
index 5951a79..b9718f9 100644
--- a/lib/utils.nom
+++ b/lib/utils.nom
@@ -113,7 +113,7 @@ lua> ".."
};
for name,code in pairs(colors) do
local escape = "\\"\\\\27["..tostring(code).."m\\""
- nomsu:defmacro(name, \(__line_no__), function() return escape end, "");
+ nomsu:define_macro(name, \(__line_no__), function() return escape end, "");
end
end