diff options
author | Sam Gross <colesbury@gmail.com> | 2015-04-29 02:00:56 +0300 |
---|---|---|
committer | Sam Gross <colesbury@gmail.com> | 2015-05-29 21:54:38 +0300 |
commit | 18fb209ffdf1e42a73a745617bcbf76f0a6136c3 (patch) | |
tree | 39ca94dc1e7fd1fa0a89eb9f8dcb0fd3aa2d3e09 /init.lua | |
parent | 8a7dc48c11cb4ae54d8b88b6098041e0917e5d26 (diff) |
Add support for Lua 5.2
Includes aliases to functions deprecated in Lua 5.2, such as
math.log10 and unpack, and loadstring
Diffstat (limited to 'init.lua')
-rw-r--r-- | init.lua | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -6,6 +6,9 @@ if not string.gfind then string.gfind = string.gmatch end +if not table.unpack then + table.unpack = unpack +end require "paths" paths.require "libtorch" |