diff options
author | mitchell <70453897+667e-11@users.noreply.github.com> | 2013-10-23 14:51:38 -0400 |
---|---|---|
committer | mitchell <70453897+667e-11@users.noreply.github.com> | 2013-10-23 14:51:38 -0400 |
commit | 3f13136796255777e66e11f0ff3d8a02e5aeefe5 (patch) | |
tree | c37e030ce0e29ca7522188b6e92f8944c2bee723 /scripts/gen_iface.lua | |
parent | 7b202cdc706900d8b07cafc61a874237a96f96e7 (diff) |
Combine `SCFIND_POSIX` with `SCFIND_REGEXP` into `buffer.FIND_REGEXP`.
Both values are required for regexp searches.
Diffstat (limited to 'scripts/gen_iface.lua')
-rwxr-xr-x | scripts/gen_iface.lua | 2 |
1 files changed, 1 insertions, 1 deletions
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 |