aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2003-03-06 16:36:16 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2003-03-06 16:36:16 -0300
commit3684f67771a171da83cc4f7fae4e24a39e0919aa (patch)
treeacba324b7c62fed8c26789254ccaae9565d096c0
parent69dd9461e5aeb98fe9bbc71f1e81859d03ec8a34 (diff)
downloadlua-3684f67771a171da83cc4f7fae4e24a39e0919aa.tar.gz
lua-3684f67771a171da83cc4f7fae4e24a39e0919aa.tar.bz2
lua-3684f67771a171da83cc4f7fae4e24a39e0919aa.zip
details (text of an error message)
-rw-r--r--lbaselib.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lbaselib.c b/lbaselib.c
index 9bb71492..4e924e2c 100644
--- a/lbaselib.c
+++ b/lbaselib.c
@@ -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}