commit 8f7a03109bda3d32fe08c80da53968bc1d6c4a19 from: Sergey Bronnikov date: Fri Aug 05 15:53:59 2022 UTC man3: fix preceding dot in sentences commit - 1fb308dbc24d0ae9bc465118a0311972d69b1ef2 commit + 8f7a03109bda3d32fe08c80da53968bc1d6c4a19 blob - f4bacdc50c14d2ba6011396b7f2c8d686b60881b blob + 41c147945a6e698bd52a4a39b0d07854b3248217 --- man3/luaL_checkoption.3 +++ man3/luaL_checkoption.3 @@ -31,7 +31,7 @@ or if this argument is .Dv nil . .Pp This is a useful function for mapping strings to C enums. (The usual convention -in Lua libraries is to use strings instead of numbers to select options). +in Lua libraries is to use strings instead of numbers to select options.) .Sh SEE ALSO .Rs .%A Roberto Ierusalimschy blob - 1295e643490574b8c8e1fba24c2994a19af785e9 blob + c946f6c2ea20475293d64773d7ce4b40f499f4be --- man3/lua_Debug.3 +++ man3/lua_Debug.3 @@ -75,7 +75,7 @@ If it cannot find a name, then name is set to explains the name field. The value of namewhat can be "global", "local", "method", "field", "upvalue", or "" (the empty string), according to how the function was called. (Lua uses -the empty string when no other option seems to apply). +the empty string when no other option seems to apply.) .It Sy nups : the number of upvalues of the function. .El blob - 691c3701d9830a578b35a2178ee6cc75d4e9ac9d blob + a9536a1077d27f3edf9b0eb4bb2b567512aaefcd --- man3/lua_getinfo.3 +++ man3/lua_getinfo.3 @@ -21,7 +21,7 @@ To get information about a function you push it onto t what string with the character '>'. (In that case, .Nm lua_getinfo -pops the function in the top of the stack). +pops the function in the top of the stack.) For instance, to know in which line a function .Fa f was defined, you can write the following code: blob - 8a50c38472a418b2fc1487bd42aa5e8e02c46cdf blob + e01fb2e0c7eee1981dd998348efa301d22119392 --- man3/lua_pcall.3 +++ man3/lua_pcall.3 @@ -39,7 +39,7 @@ Otherwise, .Fa errfunc is the stack index of an .Em error handler function . -(In the current implementation, this index cannot be a pseudo-index). +(In the current implementation, this index cannot be a pseudo-index.) In case of runtime errors, this function will be called with the error message and its return value will be the message returned on the stack by .Nm lua_pcall . blob - 392aa5dff4b4fd2fdef1b20a3e570abf8e74d572 blob + 005ef1505add9b2fa718f381d293e34ffd3037b2 --- man3/lua_sethook.3 +++ man3/lua_sethook.3 @@ -34,10 +34,10 @@ You have no access to the values to be returned by the .It Sy The line hook: is called when the interpreter is about to start the execution of a new line of code, or when it jumps back in the code (even to the same line). -(This event only happens while Lua is executing a Lua function). +(This event only happens while Lua is executing a Lua function.) .It Sy The count hook: is called after the interpreter executes every count instructions. -(This event only happens while Lua is executing a Lua function). +(This event only happens while Lua is executing a Lua function.) .El .Pp A hook is disabled by setting mask to zero.