diff options
Diffstat (limited to 'nomsu_compiler.moon')
| -rw-r--r-- | nomsu_compiler.moon | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/nomsu_compiler.moon b/nomsu_compiler.moon index 3ddf74b..794d87b 100644 --- a/nomsu_compiler.moon +++ b/nomsu_compiler.moon @@ -65,6 +65,8 @@ compile = setmetatable({ return lua ["Lua"]: (compile, code)-> + if not code + return LuaCode("LuaCode()") if code.type != "Text" return LuaCode("LuaCode:from(", tostring(code.source)\as_lua!, ", ", compile(code), ")") add_bit_lua = (lua, bit_lua)-> |
