blob: 621204d82916f3552ed3805351122e86d774cc3d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
return function(utf8)
local begins = utf8.config.begins
local ends = utf8.config.ends
return {
new = function()
return {
prev_class = nil,
begins = begins[1].default(),
ends = ends[1].default(),
funcs = {},
internal = false, -- hack for ranges, flags if parser is in []
}
end
}
end
|