Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/torch/trepl.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicholas Leonard <nick@nikopia.org>2015-10-16 01:02:56 +0300
committerNicholas Leonard <nick@nikopia.org>2015-10-16 01:02:56 +0300
commitb9fd533b8100e5164f7160b3e02052add785fef2 (patch)
tree7447c7375f526c94f87738307e957645d4baad7c
parentf7960316998f24bd62aa2d1461a06f07e0196c55 (diff)
lua 5.2 compat
-rw-r--r--th2
1 files changed, 2 insertions, 0 deletions
diff --git a/th b/th
index 87502e4..2722690 100644
--- a/th
+++ b/th
@@ -1,5 +1,7 @@
#!/usr/bin/env luajit
+loadstring = loadstring or load -- for lua 5.2 compat
+
-- help
local help = [==[
Usage: th [options] [script.lua [arguments]]