diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2018-11-11 18:34:20 -0800 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2018-11-11 18:34:31 -0800 |
| commit | c9db20040e4830744d4f04ccbc26c03486dda754 (patch) | |
| tree | 476e2c0979f6b2b67f5ebf7ff78c773f4483b75c /nomsu_environment.moon | |
| parent | 171e9d674e4ae85e303c90679ad47bceda3b3810 (diff) | |
Fixed compatibility thing with NomsuCode::from
Diffstat (limited to 'nomsu_environment.moon')
| -rw-r--r-- | nomsu_environment.moon | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/nomsu_environment.moon b/nomsu_environment.moon index 37f239d..142abdb 100644 --- a/nomsu_environment.moon +++ b/nomsu_environment.moon @@ -48,6 +48,8 @@ nomsu_environment = Importer{ lpeg:lpeg, re:re, Files:Files, :SyntaxTree, TESTS: Dict({}), globals: Dict({}), :LuaCode, :NomsuCode, :Source + LuaCode_from: ((src, ...)-> LuaCode\from(src, ...)), + NomsuCode_from: ((src, ...)-> NomsuCode\from(src, ...)), SOURCE_MAP: Importer({}) -- Nomsu functions: |
