[lua-torch-sundown] 01/04: New upstream version 0~20160829-g17ea705

Zhou Mo cdluminate-guest at moszumanska.debian.org
Sat Oct 15 10:04:56 UTC 2016


This is an automated email from the git hooks/post-receive script.

cdluminate-guest pushed a commit to branch master
in repository lua-torch-sundown.

commit 9ba9905c03c8cdf7ed21034380ab8a41f1b97ac5
Author: Zhou Mo <cdluminate at gmail.com>
Date:   Sat Oct 15 09:24:59 2016 +0000

    New upstream version 0~20160829-g17ea705
---
 ascii.lua | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/ascii.lua b/ascii.lua
index 2375f67..f14aed7 100644
--- a/ascii.lua
+++ b/ascii.lua
@@ -1,7 +1,13 @@
 local sundown = require 'sundown.env'
 local C = sundown.C
 local ffi = require 'ffi'
-local bit = require 'bit'
+local bit
+
+if _VERSION == 'Lua 5.2' or _VERSION == 'Lua 5.3' then
+   bit = require 'bit32'
+else
+   bit = require 'bit'
+end
 
 require 'sundown.sdcdefs'
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/lua-torch-sundown.git



More information about the debian-science-commits mailing list