From 7d2b7199d87930096b7fd799709fe0105d51eccb Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Fri, 9 Nov 2018 14:36:15 -0800 Subject: Lots of cleanups, including expanded use of (... compiles to "text literal") shorthand, deprecating Lua value, and more use of Lua "..." with text interpolations. --- files.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'files.lua') diff --git a/files.lua b/files.lua index d08d7df..272002b 100644 --- a/files.lua +++ b/files.lua @@ -256,7 +256,7 @@ Files.get_line = function(str, line_no) if not (stop) then return end - return str:sub(start, stop - 2) + return (str:sub(start, stop - 2)) end local get_lines = re.compile([[ lines <- {| line (%nl line)* |} line <- {[^%nl]*} -- cgit v1.2.3