Comparison

util/jid.lua @ 7321:a7199fc8a50e

util.jid: Import select() into local (fixes traceback, tests on Lua 5.2)
author Kim Alvefur <zash@zash.se>
date Mon, 28 Mar 2016 13:27:42 +0200
parent 7296:1859e07ae082
child 7670:2be85cb3bc66
comparison
equal deleted inserted replaced
7319:afa83f3ccaad 7321:a7199fc8a50e
6 -- COPYING file in the source package for more information. 6 -- COPYING file in the source package for more information.
7 -- 7 --
8 8
9 9
10 10
11 local select = select;
11 local match, sub = string.match, string.sub; 12 local match, sub = string.match, string.sub;
12 local nodeprep = require "util.encodings".stringprep.nodeprep; 13 local nodeprep = require "util.encodings".stringprep.nodeprep;
13 local nameprep = require "util.encodings".stringprep.nameprep; 14 local nameprep = require "util.encodings".stringprep.nameprep;
14 local resourceprep = require "util.encodings".stringprep.resourceprep; 15 local resourceprep = require "util.encodings".stringprep.resourceprep;
15 16