diff options
| -rw-r--r-- | files.lua | 1 | ||||
| -rw-r--r-- | files.moon | 1 | ||||
| -rw-r--r-- | nomsu.lua | 2 | ||||
| -rwxr-xr-x | nomsu.moon | 2 |
4 files changed, 2 insertions, 4 deletions
@@ -226,7 +226,6 @@ Files.get_line_starts = function(str) _LINE_STARTS[str] = line_starts return line_starts end -local log = { } Files.get_line_number = function(str, pos) local line_starts = Files.get_line_starts(str) local lo, hi = 1, #line_starts @@ -131,7 +131,6 @@ Files.get_line_starts = (str)-> _LINE_STARTS[str] = line_starts return line_starts -log = {} Files.get_line_number = (str, pos)-> line_starts = Files.get_line_starts(str) -- Binary search for line number of position @@ -97,7 +97,7 @@ if not arg or debug.getinfo(2).func == require then return NomsuCompiler end local file_queue = { } -local sep = "\0" +local sep = "\3" local parser = re.compile([[ args <- {| (flag %sep)* (({~ file ~} -> add_file) {:primary_file: '' -> true :} %sep)? {:nomsu_args: {| ({(!%sep .)*} %sep)* |} :} %sep? |} !. flag <- @@ -55,7 +55,7 @@ if not arg or debug.getinfo(2).func == require return NomsuCompiler file_queue = {} -sep = "\0" +sep = "\3" parser = re.compile([[ args <- {| (flag %sep)* (({~ file ~} -> add_file) {:primary_file: '' -> true :} %sep)? {:nomsu_args: {| ({(!%sep .)*} %sep)* |} :} %sep? |} !. |
