diff options
| -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.123 2003/02/24 16:54:20 roberto Exp roberto $ | 2 | ** $Id: lbaselib.c,v 1.124 2003/02/27 11:52:30 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 | */ |
| @@ -124,7 +124,7 @@ static void getfunc (lua_State *L) { | |||
| 124 | luaL_argerror(L, 1, "invalid level"); | 124 | luaL_argerror(L, 1, "invalid level"); |
| 125 | lua_getinfo(L, "f", &ar); | 125 | lua_getinfo(L, "f", &ar); |
| 126 | if (lua_isnil(L, -1)) | 126 | if (lua_isnil(L, -1)) |
| 127 | luaL_error(L, "cannot get/set environment (tail call at level %d)", | 127 | luaL_error(L, "no function environment for tail call at level %d", |
| 128 | level); | 128 | level); |
| 129 | } | 129 | } |
| 130 | } | 130 | } |
