diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2019-01-07 21:40:25 -0800 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2019-01-07 21:40:35 -0800 |
| commit | 31e1bfa58f3678a7d89929d2ac94f668b0e4b781 (patch) | |
| tree | 49bbc26d1d7aef2a839cfe080eb0e1a140186620 /syntax_tree.moon | |
| parent | 80167c9df2d48fff0860034cc05cc9125be190f8 (diff) | |
Moved require to top level.
Diffstat (limited to 'syntax_tree.moon')
| -rw-r--r-- | syntax_tree.moon | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/syntax_tree.moon b/syntax_tree.moon index ba854e1..b59f1ef 100644 --- a/syntax_tree.moon +++ b/syntax_tree.moon @@ -2,6 +2,7 @@ -- as well as the logic for converting them to Lua code. {:insert, :remove, :concat} = table {:Source} = require "code_obj" +Files = require 'files' unpack or= table.unpack as_lua = => @@ -39,7 +40,6 @@ class SyntaxTree @source_code_for_tree: setmetatable({}, { __index:(t)=> s = t.source - Files = require 'files' f = Files.read(s.filename) return f __mode: "k" |
