From c2bb9abceceef125554595e23b7cc18ad3555c7c Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Mon, 16 May 2005 18:19:00 -0300 Subject: better quotes for strings in error messages --- ltable.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ltable.c') diff --git a/ltable.c b/ltable.c index 7b51da46..383b6ecc 100644 --- a/ltable.c +++ b/ltable.c @@ -1,5 +1,5 @@ /* -** $Id: ltable.c,v 2.20 2005/04/01 13:51:37 roberto Exp roberto $ +** $Id: ltable.c,v 2.21 2005/05/03 19:30:17 roberto Exp roberto $ ** Lua tables (hash) ** See Copyright Notice in lua.h */ @@ -151,7 +151,7 @@ static int findindex (lua_State *L, Table *t, StkId key) { } else n = gnext(n); } while (n); - luaG_runerror(L, "invalid key for `next'"); /* key not found */ + luaG_runerror(L, "invalid key to " LUA_SM, "next"); /* key not found */ return 0; /* to avoid warnings */ } } -- cgit v1.2.3-55-g6feb