diff options
Diffstat (limited to 'lapi.c')
-rw-r--r-- | lapi.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: lapi.c,v 1.10 1997/11/27 18:25:14 roberto Exp roberto $ | 2 | ** $Id: lapi.c,v 1.11 1997/11/28 16:56:05 roberto Exp roberto $ |
3 | ** Lua API | 3 | ** Lua API |
4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
5 | */ | 5 | */ |
@@ -142,7 +142,7 @@ lua_Object lua_rawgettable (void) | |||
142 | { | 142 | { |
143 | checkCparams(2); | 143 | checkCparams(2); |
144 | if (ttype(L->stack.top-2) != LUA_T_ARRAY) | 144 | if (ttype(L->stack.top-2) != LUA_T_ARRAY) |
145 | lua_error("indexed expression not a table in raw gettable"); | 145 | lua_error("indexed expression not a table in rawgettable"); |
146 | else { | 146 | else { |
147 | TObject *h = luaH_get(avalue(L->stack.top-2), L->stack.top-1); | 147 | TObject *h = luaH_get(avalue(L->stack.top-2), L->stack.top-1); |
148 | --L->stack.top; | 148 | --L->stack.top; |
@@ -490,7 +490,7 @@ char *lua_getobjname (lua_Object o, char **name) | |||
490 | void lua_beginblock (void) | 490 | void lua_beginblock (void) |
491 | { | 491 | { |
492 | if (L->numCblocks >= MAX_C_BLOCKS) | 492 | if (L->numCblocks >= MAX_C_BLOCKS) |
493 | lua_error("`lua_beginblock': too many nested blocks"); | 493 | lua_error("too many nested blocks"); |
494 | L->Cblocks[L->numCblocks] = L->Cstack; | 494 | L->Cblocks[L->numCblocks] = L->Cstack; |
495 | L->numCblocks++; | 495 | L->numCblocks++; |
496 | } | 496 | } |