aboutsummaryrefslogtreecommitdiff
path: root/ltablib.c
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2005-05-16 18:19:00 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2005-05-16 18:19:00 -0300
commitc2bb9abceceef125554595e23b7cc18ad3555c7c (patch)
tree2c00262ddf0e4f8acc1db83bdee4a56bb2458117 /ltablib.c
parentda32450c3d4c8abd3fd6709692859a12a8886511 (diff)
downloadlua-c2bb9abceceef125554595e23b7cc18ad3555c7c.tar.gz
lua-c2bb9abceceef125554595e23b7cc18ad3555c7c.tar.bz2
lua-c2bb9abceceef125554595e23b7cc18ad3555c7c.zip
better quotes for strings in error messages
Diffstat (limited to 'ltablib.c')
-rw-r--r--ltablib.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ltablib.c b/ltablib.c
index 30220300..ca0a7b2c 100644
--- a/ltablib.c
+++ b/ltablib.c
@@ -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;