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

github.com/torch/dok.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSoumith Chintala <soumith@gmail.com>2015-12-01 01:56:41 +0300
committerSoumith Chintala <soumith@gmail.com>2015-12-01 01:56:41 +0300
commit2adabfa57361ff6783134d275cf5c0a6536620d3 (patch)
treefdd3898fe9c3041e6dfadff7dcdd17fb111cf7d6
parentcdef0eb010fb5588eab885fbad24ea840874d4a4 (diff)
parent4da6407d33dac2c5ccc360ac742f1435c78c8674 (diff)
Merge pull request #10 from colesbury/master
Fix for Lua 5.2
-rw-r--r--inline.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/inline.lua b/inline.lua
index 162f868..dce34ca 100644
--- a/inline.lua
+++ b/inline.lua
@@ -40,6 +40,7 @@ local knownpkg = {}
-- Lua 5.2 compatibility
local unpack = unpack or table.unpack
+local loadstring = loadstring or load
dok.inline = {}