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:
-rw-r--r--inline.lua3
1 files changed, 3 insertions, 0 deletions
diff --git a/inline.lua b/inline.lua
index 3a9bc8a..48eccc3 100644
--- a/inline.lua
+++ b/inline.lua
@@ -38,6 +38,9 @@ local mdsearchpaths = splitpackagepath()
local knownpkg = {}
+-- Lua 5.2 compatibility
+local unpack = unpack or table.unpack
+
dok.inline = {}
dok.colors = {