From c0333ca31532f14ec8ebd841a5f68b2f35e9cc80 Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Thu, 11 Jan 2018 01:03:52 -0800 Subject: Overhaul of error reporting and removing nomsu:call(stub, line_no, ...) in favor of nomsu.defs[stub].fn(...) --- lib/utils.nom | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/utils.nom') 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 -- cgit v1.2.3