aboutsummaryrefslogtreecommitdiff
path: root/nomsu.moon
diff options
context:
space:
mode:
authorBruce Hill <bitbucket@bruce-hill.com>2018-04-20 14:33:49 -0700
committerBruce Hill <bitbucket@bruce-hill.com>2018-04-20 14:33:57 -0700
commit14bda2fb2d881bd2ad4f1a53aabb937b534d545e (patch)
treea6ecd7b204f5285a773a32b2b43d63595e547e77 /nomsu.moon
parent931ae40f408c789eca3a2bf36e886f174f4f8038 (diff)
Cleanups and optimizations.
Diffstat (limited to 'nomsu.moon')
-rwxr-xr-xnomsu.moon5
1 files changed, 3 insertions, 2 deletions
diff --git a/nomsu.moon b/nomsu.moon
index 0620a17..5c5676a 100755
--- a/nomsu.moon
+++ b/nomsu.moon
@@ -1045,7 +1045,8 @@ if arg and debug_getinfo(2).func != require
-- Note: xpcall has a slightly different API in Lua <=5.1 vs. >=5.2, but this works
-- for both APIs
-- TODO: revert back to old error handler
- require('ldt').guard run
- --xpcall(run, err_hand)
+
+ --require('ldt').guard run
+ xpcall(run, err_hand)
return NomsuCompiler