build: ignore lvalue
Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
parent
ad7e0ab9ec
commit
8e4873b3aa
|
@ -13,13 +13,14 @@ function string.comment_translate(s)
|
|||
local lua_comment = "";
|
||||
nparam = 0;
|
||||
for line in s:gmatch("[^\r\n]+") do
|
||||
if not line:match("\\lvalue") then
|
||||
line = line:gsub("/%*%*", "---")
|
||||
line = line:gsub("^.*%*", "--")
|
||||
line = line:gsub("\\lvalue", "")
|
||||
line = line:gsub("\\(lparam)", string.replace_param)
|
||||
line = line:gsub("\\lreturn", "@return")
|
||||
line = line:gsub("\\lfield", "@field")
|
||||
lua_comment = lua_comment .. line .. "\n"
|
||||
end
|
||||
end
|
||||
-- remove last \n
|
||||
lua_comment = lua_comment:sub(1, #lua_comment - 1)
|
||||
|
|
|
@ -350,7 +350,7 @@ luaA_keybinding_new(lua_State *L)
|
|||
* \param L The Lua VM state.
|
||||
*
|
||||
* \luastack
|
||||
* \lparam A keybinding.
|
||||
* \lvalue A keybinding.
|
||||
*/
|
||||
static int
|
||||
luaA_keybinding_add(lua_State *L)
|
||||
|
@ -364,7 +364,7 @@ luaA_keybinding_add(lua_State *L)
|
|||
* \param L The Lua VM state.
|
||||
*
|
||||
* \luastack
|
||||
* \lparam A keybinding.
|
||||
* \lvalue A keybinding.
|
||||
*/
|
||||
static int
|
||||
luaA_keybinding_remove(lua_State *L)
|
||||
|
|
Loading…
Reference in New Issue