aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/luarocks/core/vers.lua17
1 files changed, 2 insertions, 15 deletions
diff --git a/src/luarocks/core/vers.lua b/src/luarocks/core/vers.lua
index 02e7b1da..e7c4a221 100644
--- a/src/luarocks/core/vers.lua
+++ b/src/luarocks/core/vers.lua
@@ -1,20 +1,10 @@
1local _tl_compat; if (tonumber((_VERSION or ''):match('[%d.]*$')) or 0) < 5.3 then local p, m = pcall(require, 'compat53.module'); if p then _tl_compat = m end end; local ipairs = _tl_compat and _tl_compat.ipairs or ipairs; local math = _tl_compat and _tl_compat.math or math; local string = _tl_compat and _tl_compat.string or string; local vers = {Version = {}, Constraints = {}, } 1local _tl_compat; if (tonumber((_VERSION or ''):match('[%d.]*$')) or 0) < 5.3 then local p, m = pcall(require, 'compat53.module'); if p then _tl_compat = m end end; local ipairs = _tl_compat and _tl_compat.ipairs or ipairs; local math = _tl_compat and _tl_compat.math or math; local string = _tl_compat and _tl_compat.string or string; local vers = {}
2
3
4
5
6
7
8
9
10
11
12 2
13 3
4local util = require("luarocks.core.util")
14 5
15 6
16 7
17local util = require("luarocks.core.util")
18 8
19 9
20local deltas = { 10local deltas = {
@@ -27,9 +17,6 @@ local deltas = {
27 alpha = -1000000, 17 alpha = -1000000,
28} 18}
29 19
30
31
32
33local version_mt = { 20local version_mt = {
34 21
35 22