From e56735ed361d707618c8c45b56efffd51194ef30 Mon Sep 17 00:00:00 2001 From: mitchell <70453897+667e-11@users.noreply.github.com> Date: Sat, 7 Jun 2014 11:33:45 -0400 Subject: Added buffer constants to buffer LuaDoc and improved Lua tags and api generator. --- scripts/gen_iface.lua | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) (limited to 'scripts/gen_iface.lua') 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() -- cgit v1.2.3