diff options
| author | Bruce Hill <bitbucket@bruce-hill.com> | 2018-06-12 20:06:33 -0700 |
|---|---|---|
| committer | Bruce Hill <bitbucket@bruce-hill.com> | 2018-06-12 20:06:37 -0700 |
| commit | 63a19db0dc817d2929d8ef4bf12a15d5e9dbd015 (patch) | |
| tree | f0067a6fabf270bfdc65ee742d1f1ad80ff57ba9 /nomsu_tree.lua | |
| parent | b0997a7dbffb636b8209055ed788fe1360aef25d (diff) | |
Working version.
Diffstat (limited to 'nomsu_tree.lua')
| -rw-r--r-- | nomsu_tree.lua | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/nomsu_tree.lua b/nomsu_tree.lua index 96e5031..446da20 100644 --- a/nomsu_tree.lua +++ b/nomsu_tree.lua @@ -62,6 +62,9 @@ Tree = function(name, methods) if type(source) == 'string' then source = Source:from_string(source) end + for i = 1, select('#', ...) do + assert(select(i, ...)) + end assert(Source:is_instance(source)) local inst = { source = source, |
