diff options
author | mitchell <70453897+667e-11@users.noreply.github.com> | 2014-06-07 11:33:45 -0400 |
---|---|---|
committer | mitchell <70453897+667e-11@users.noreply.github.com> | 2014-06-07 11:33:45 -0400 |
commit | e56735ed361d707618c8c45b56efffd51194ef30 (patch) | |
tree | a83ae65aa492ac5f4cf96f38d7512216901ac172 /scripts/gen_iface.lua | |
parent | 27d8dcdf343f8109654701563d84d8ba7c1ce4a9 (diff) |
Added buffer constants to buffer LuaDoc and improved Lua tags and api generator.
Diffstat (limited to 'scripts/gen_iface.lua')
-rwxr-xr-x | scripts/gen_iface.lua | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/scripts/gen_iface.lua b/scripts/gen_iface.lua index 351ebeb3..f56fd50f 100755 --- a/scripts/gen_iface.lua +++ b/scripts/gen_iface.lua @@ -93,7 +93,6 @@ local events = { } for event, value in pairs(events) do constants[#constants + 1] = string_format('%s=%d', event, value) - fielddoc[#fielddoc + 1] = string_format('-- * `%s.%s` %d', s, event, value) end -- Write constants. @@ -102,6 +101,7 @@ f:write [[ -- Map of Scintilla constant names to their numeric values. -- @class table -- @name constants +-- @see _G.buffer M.constants = {]] f:write(table.concat(constants, ',')) f:write('}\n\n') @@ -211,14 +211,3 @@ return M ]] f:close() - -f = io.open('../core/._SCINTILLA.luadoc', 'wb') -f:write [[ --- Copyright 2007-2014 Mitchell mitchell.att.foicica.com. See LICENSE. --- This is a DUMMY FILE used for making Adeptsense for built-in constants in the --- global _SCINTILLA.constants table. - -]] -f:write(table.concat(fielddoc, '\n')) -f:write('\n') -f:close() |