mirror of https://github.com/rusefi/lua.git
typos in comments
This commit is contained in:
parent
6efffb9acd
commit
b77a90681e
|
@ -1,5 +1,5 @@
|
||||||
/*
|
/*
|
||||||
** $Id: loadlib.c,v 1.109 2012/04/11 16:35:32 roberto Exp roberto $
|
** $Id: loadlib.c,v 1.110 2012/04/26 19:38:52 roberto Exp roberto $
|
||||||
** Dynamic library loader for Lua
|
** Dynamic library loader for Lua
|
||||||
** See Copyright Notice in lua.h
|
** See Copyright Notice in lua.h
|
||||||
**
|
**
|
||||||
|
@ -482,9 +482,9 @@ static void findloader (lua_State *L, const char *name) {
|
||||||
lua_getfield(L, lua_upvalueindex(1), "searchers"); /* will be at index 3 */
|
lua_getfield(L, lua_upvalueindex(1), "searchers"); /* will be at index 3 */
|
||||||
if (!lua_istable(L, 3))
|
if (!lua_istable(L, 3))
|
||||||
luaL_error(L, LUA_QL("package.searchers") " must be a table");
|
luaL_error(L, LUA_QL("package.searchers") " must be a table");
|
||||||
/* iterate over available seachers to find a loader */
|
/* iterate over available searchers to find a loader */
|
||||||
for (i = 1; ; i++) {
|
for (i = 1; ; i++) {
|
||||||
lua_rawgeti(L, 3, i); /* get a seacher */
|
lua_rawgeti(L, 3, i); /* get a searcher */
|
||||||
if (lua_isnil(L, -1)) { /* no more searchers? */
|
if (lua_isnil(L, -1)) { /* no more searchers? */
|
||||||
lua_pop(L, 1); /* remove nil */
|
lua_pop(L, 1); /* remove nil */
|
||||||
luaL_pushresult(&msg); /* create error message */
|
luaL_pushresult(&msg); /* create error message */
|
||||||
|
|
4
lstate.c
4
lstate.c
|
@ -1,5 +1,5 @@
|
||||||
/*
|
/*
|
||||||
** $Id: lstate.c,v 2.96 2012/05/22 17:50:39 roberto Exp roberto $
|
** $Id: lstate.c,v 2.97 2012/05/23 15:37:09 roberto Exp roberto $
|
||||||
** Global State
|
** Global State
|
||||||
** See Copyright Notice in lua.h
|
** See Copyright Notice in lua.h
|
||||||
*/
|
*/
|
||||||
|
@ -79,7 +79,7 @@ typedef struct LG {
|
||||||
|
|
||||||
/*
|
/*
|
||||||
** Compute an initial seed as random as possible. In ANSI, rely on
|
** Compute an initial seed as random as possible. In ANSI, rely on
|
||||||
** Address Space Layour Randomization (if present) to increase
|
** Address Space Layout Randomization (if present) to increase
|
||||||
** randomness..
|
** randomness..
|
||||||
*/
|
*/
|
||||||
#define addbuff(b,p,e) \
|
#define addbuff(b,p,e) \
|
||||||
|
|
Loading…
Reference in New Issue