Comparison

util/dependencies.lua @ 12572:35a9ed6b7896

util.dependencies: Reject Lua 5.1, Lua 5.2 or later is now required (see #1600)
author Kim Alvefur <zash@zash.se>
date Sat, 02 Jul 2022 17:30:34 +0200
parent 12569:b5d9f1829b15
child 12975:d10957394a3c
comparison
equal deleted inserted replaced
12571:c4337ff4f1c4 12572:35a9ed6b7896
30 print("**************************"); 30 print("**************************");
31 print(""); 31 print("");
32 end 32 end
33 33
34 local function check_dependencies() 34 local function check_dependencies()
35 if _VERSION < "Lua 5.1" then 35 if _VERSION < "Lua 5.2" then
36 print "***********************************" 36 print "***********************************"
37 print("Unsupported Lua version: ".._VERSION); 37 print("Unsupported Lua version: ".._VERSION);
38 print("At least Lua 5.1 is required."); 38 print("At least Lua 5.2 is required.");
39 print "***********************************" 39 print "***********************************"
40 return false; 40 return false;
41 end 41 end
42 42
43 local fatal; 43 local fatal;