diff options
Diffstat (limited to 'scripts/gen_iface.lua')
-rwxr-xr-x | scripts/gen_iface.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/gen_iface.lua b/scripts/gen_iface.lua index b1c71298..59362a00 100755 --- a/scripts/gen_iface.lua +++ b/scripts/gen_iface.lua @@ -107,6 +107,7 @@ for item in iface:match('Functions%[%] = (%b{})'):sub(2, -2):gmatch('%b{}') do name = name:gsub('([a-z])([A-Z])', '%1_%2') name = name:gsub('([A-Z])([A-Z][a-z])', '%1_%2') name = name:lower() + if name == 'convert_eo_ls' then name = 'convert_eols' end local line = string_format('%s={%d,%d,%d,%d}', name, msg_id, types[rt_type], types[p1_type], types[p2_type]) functions[#functions + 1] = line |