anchor.diff:  			die("Bundled Lua version is 5.1, cannot install "..vars.LUA_VERSION)
   		end
   	end
  -	if vars.LUA_VERSION ~= "5.1" then
  -		if vars.LUA_VERSION == "5.2" then
  -			vars.LUA_LIB_NAMES = vars.LUA_LIB_NAMES:gsub("5([%.]?)1", "5%12")
  -		elseif vars.LUA_VERSION == "5.3" then
  -			vars.LUA_LIB_NAMES = vars.LUA_LIB_NAMES:gsub("5([%.]?)1", "5%13")
  -		else
  -			die("Bad argument: /LV must either be 5.1, 5.2, or 5.3")
  -		end
  +	if not vars.LUA_VERSION:match("^5%.[123]$") then
  +		die("Bad argument: /LV must either be 5.1, 5.2, or 5.3")
   	end
     if USE_MSVC_MANUAL and USE_MINGW then
       die("Cannot combine option /MSVC and /MW")
  
positive.code: 	end
  
  	for _, dir in ipairs(directories) do
  		for name in vars.LUA_LIB_NAMES:gmatch("[^%s]+") do
  			local full_name = dir .. "\\" .. name
  			print("    checking for " .. full_name)
  			if exists(full_name) then
  
negative.code: 						else
  							vars.LUA_VERSION = version
  							vars.LUA_SHORTV = version:gsub("%.", "")
  						end
  					end
  
  