From 3f13136796255777e66e11f0ff3d8a02e5aeefe5 Mon Sep 17 00:00:00 2001 From: mitchell <70453897+667e-11@users.noreply.github.com> Date: Wed, 23 Oct 2013 14:51:38 -0400 Subject: Combine `SCFIND_POSIX` with `SCFIND_REGEXP` into `buffer.FIND_REGEXP`. Both values are required for regexp searches. --- scripts/gen_iface.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts/gen_iface.lua') diff --git a/scripts/gen_iface.lua b/scripts/gen_iface.lua index b98e3d0f..b6702af7 100755 --- a/scripts/gen_iface.lua +++ b/scripts/gen_iface.lua @@ -50,7 +50,7 @@ for item in iface:match('Constants%[%] = (%b{})'):sub(2, -2):gmatch('%b{}') do if not skip then name = name:gsub('^SC_', ''):gsub('^SC([^N]%u+)', '%1') if name == 'FIND_REGEXP' then - value = tostring(2^22) -- change to SCFIND_POSIX + value = tostring(tonumber(value) + 2^22) -- add SCFIND_POSIX elseif name == 'MASK_FOLDERS' then value = '-33554432' end -- cgit v1.2.3