better quotes for strings in error messages

This commit is contained in:
Roberto Ierusalimschy
2005-05-16 18:19:00 -03:00
parent da32450c3d
commit c2bb9abcec
16 changed files with 85 additions and 78 deletions

View File

@@ -1,5 +1,5 @@
/*
** $Id: ltablib.c,v 1.28 2005/03/16 16:58:41 roberto Exp roberto $
** $Id: ltablib.c,v 1.29 2005/03/28 17:17:53 roberto Exp roberto $
** Library for Table Manipulation
** See Copyright Notice in lua.h
*/
@@ -65,7 +65,7 @@ static int setn (lua_State *L) {
#ifndef luaL_setn
luaL_setn(L, 1, luaL_checkint(L, 2));
#else
luaL_error(L, "`setn' is obsolete");
luaL_error(L, LUA_SM " is obsolete", "setn");
#endif
lua_pushvalue(L, 1);
return 1;