diff options
Diffstat (limited to 'nomsu_tree.lua')
| -rw-r--r-- | nomsu_tree.lua | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/nomsu_tree.lua b/nomsu_tree.lua index 7288613..05fb22c 100644 --- a/nomsu_tree.lua +++ b/nomsu_tree.lua @@ -7,6 +7,7 @@ do end local Source Source = require("code_obj").Source +local unpack = unpack or table.unpack local AST = { } AST.is_syntax_tree = function(n) return type(n) == 'table' and getmetatable(n) and AST[n.type] == getmetatable(n) @@ -21,7 +22,8 @@ local types = { "Dict", "DictEntry", "IndexChain", - "Action" + "Action", + "FileChunks" } for _index_0 = 1, #types do local name = types[_index_0] |
