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.moon | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'files.moon') diff --git a/files.moon b/files.moon index ca50290..118b660 100644 --- a/files.moon +++ b/files.moon @@ -152,7 +152,7 @@ Files.get_line = (str, line_no)-> return unless start stop = line_starts[line_no+1] return unless stop - return str\sub(start, stop - 2) + return (str\sub(start, stop - 2)) get_lines = re.compile([[ lines <- {| line (%nl line)* |} -- cgit v1.2.3