diff options
Diffstat (limited to 'lbaselib.c')
-rw-r--r-- | lbaselib.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: lbaselib.c,v 1.4 2000/09/13 19:52:39 roberto Exp roberto $ | 2 | ** $Id: lbaselib.c,v 1.5 2000/09/14 14:09:31 roberto Exp roberto $ |
3 | ** Basic library | 3 | ** Basic library |
4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
5 | */ | 5 | */ |
@@ -224,7 +224,7 @@ static int luaB_next (lua_State *L) { | |||
224 | 224 | ||
225 | static int passresults (lua_State *L, int status, int oldtop) { | 225 | static int passresults (lua_State *L, int status, int oldtop) { |
226 | static const char *const errornames[] = | 226 | static const char *const errornames[] = |
227 | {"OK", "RUN-TIME ERROR", "FILE ERROR", "SYNTAX ERROR", "MEMORY ERROR"}; | 227 | {"ok", "run-time error", "file error", "syntax error", "memory error"}; |
228 | if (status == 0) { | 228 | if (status == 0) { |
229 | int nresults = lua_gettop(L) - oldtop; | 229 | int nresults = lua_gettop(L) - oldtop; |
230 | if (nresults > 0) | 230 | if (nresults > 0) |