aboutsummaryrefslogtreecommitdiff
path: root/lib/utils.nom
diff options
context:
space:
mode:
authorBruce Hill <bitbucket@bruce-hill.com>2018-01-11 01:03:52 -0800
committerBruce Hill <bitbucket@bruce-hill.com>2018-01-11 01:04:17 -0800
commitc0333ca31532f14ec8ebd841a5f68b2f35e9cc80 (patch)
treecca1698b04eec2afb6adc7de55860caf12e90dca /lib/utils.nom
parent53a9d4eae888d2b09c68fcd5dc14ae51f5d07c31 (diff)
Overhaul of error reporting and removing nomsu:call(stub, line_no, ...) in favor of nomsu.defs[stub].fn(...)
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 ce6dc9d..6af38c8 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, function() return escape end, "");
+ nomsu:defmacro(name, \(__line_no__), function() return escape end, "");
end
end