aboutsummaryrefslogtreecommitdiff
path: root/files.moon
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2019-01-14 15:42:48 -0800
committerBruce Hill <bruce@bruce-hill.com>2019-01-14 15:43:24 -0800
commitc1c32688a4afc43f6addb99b8b5fa878944a70e3 (patch)
treec886f21b5b08a9053aa74fcba4b241dae5ede76d /files.moon
parent2309b696fc34b24f05f6658b94f9105ca8ee76e4 (diff)
Overhaul in progress, mostly working. Moved all the nomsu packages into
lib/, including core/*. Changes to how nomsu environments and importing work.
Diffstat (limited to 'files.moon')
-rw-r--r--files.moon7
1 files changed, 0 insertions, 7 deletions
diff --git a/files.moon b/files.moon
index 3950ce3..a9fbb5c 100644
--- a/files.moon
+++ b/files.moon
@@ -134,11 +134,4 @@ Files.get_line = (str, line_no)->
return unless stop
return (str\sub(start, stop - 2))
-get_lines = re.compile([[
- lines <- {| line (%nl line)* |}
- line <- {[^%nl]*}
-]], nl:lpeg.P("\r")^-1 * lpeg.P("\n"))
-
-Files.get_lines = (str)-> get_lines\match(str)
-
return Files