diff options
Diffstat (limited to 'ltablib.c')
-rw-r--r-- | ltablib.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: ltablib.c,v 1.28 2005/03/16 16:58:41 roberto Exp roberto $ | 2 | ** $Id: ltablib.c,v 1.29 2005/03/28 17:17:53 roberto Exp roberto $ |
3 | ** Library for Table Manipulation | 3 | ** Library for Table Manipulation |
4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
5 | */ | 5 | */ |
@@ -65,7 +65,7 @@ static int setn (lua_State *L) { | |||
65 | #ifndef luaL_setn | 65 | #ifndef luaL_setn |
66 | luaL_setn(L, 1, luaL_checkint(L, 2)); | 66 | luaL_setn(L, 1, luaL_checkint(L, 2)); |
67 | #else | 67 | #else |
68 | luaL_error(L, "`setn' is obsolete"); | 68 | luaL_error(L, LUA_SM " is obsolete", "setn"); |
69 | #endif | 69 | #endif |
70 | lua_pushvalue(L, 1); | 70 | lua_pushvalue(L, 1); |
71 | return 1; | 71 | return 1; |