build: ignore lvalue

Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
Julien Danjou 2008-09-02 16:52:50 +02:00
parent ad7e0ab9ec
commit 8e4873b3aa
2 changed files with 4 additions and 3 deletions

View File

@ -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)

View File

@ -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)