diff options
| author | Bruce Hill <bitbucket@bruce-hill.com> | 2018-01-10 20:45:03 -0800 |
|---|---|---|
| committer | Bruce Hill <bitbucket@bruce-hill.com> | 2018-01-10 20:45:03 -0800 |
| commit | 53a9d4eae888d2b09c68fcd5dc14ae51f5d07c31 (patch) | |
| tree | 87c21e8c2400ae5a51200412329e6b32892fe7ac /lib/scopes.nom | |
| parent | 09b64e034147969a3621c4c46075741a8034c423 (diff) | |
Pretty much mostly working.
Diffstat (limited to 'lib/scopes.nom')
| -rw-r--r-- | lib/scopes.nom | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/scopes.nom b/lib/scopes.nom index 910b30e..3f6eff1 100644 --- a/lib/scopes.nom +++ b/lib/scopes.nom @@ -13,6 +13,8 @@ compile [str %] to: "tostring(\(% as lua))" compile [scope] to: "nomsu.defs" compile [parent scope] to: "getmetatable(nomsu.defs).__index" +# TODO: fix this file +return compile [using %scoped do %actions] to code: ".." do local old_scope, old_vars = nomsu.defs, vars; |
