From 14bda2fb2d881bd2ad4f1a53aabb937b534d545e Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Fri, 20 Apr 2018 14:33:49 -0700 Subject: Cleanups and optimizations. --- nomsu.moon | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'nomsu.moon') 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 -- cgit v1.2.3