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:
authorSoumith Chintala <soumith@gmail.com>2015-10-16 01:04:21 +0300
committerSoumith Chintala <soumith@gmail.com>2015-10-16 01:04:21 +0300
commitae5678dbf265ca78b3fd471c8a7ffc4437f45b4d (patch)
tree7447c7375f526c94f87738307e957645d4baad7c
parentf7960316998f24bd62aa2d1461a06f07e0196c55 (diff)
parentb9fd533b8100e5164f7160b3e02052add785fef2 (diff)
Merge pull request #35 from nicholas-leonard/luafix
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]]