diff options
| -rw-r--r-- | nomsu.lua | 3 | ||||
| -rwxr-xr-x | nomsu.moon | 1 |
2 files changed, 4 insertions, 0 deletions
@@ -424,6 +424,9 @@ do if max_operations == nil then max_operations = nil end + if src == "" then + return nil, "", vars + end if max_operations then local timeout timeout = function() @@ -323,6 +323,7 @@ class NomsuCompiler return tree run: (src, filename, vars={}, max_operations=nil)=> + if src == "" then return nil, "", vars if max_operations timeout = -> debug.sethook! |
