aboutsummaryrefslogtreecommitdiff
path: root/ltable.c
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2005-05-17 16:49:15 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2005-05-17 16:49:15 -0300
commit67578ec51f1a3ec2c967f15d370067caf9e0b87b (patch)
treed77b292ddec33d7e6987bae808fa1db250ebd830 /ltable.c
parentc2bb9abceceef125554595e23b7cc18ad3555c7c (diff)
downloadlua-67578ec51f1a3ec2c967f15d370067caf9e0b87b.tar.gz
lua-67578ec51f1a3ec2c967f15d370067caf9e0b87b.tar.bz2
lua-67578ec51f1a3ec2c967f15d370067caf9e0b87b.zip
several small details
Diffstat (limited to 'ltable.c')
-rw-r--r--ltable.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ltable.c b/ltable.c
index 383b6ecc..76e25bc4 100644
--- a/ltable.c
+++ b/ltable.c
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: ltable.c,v 2.21 2005/05/03 19:30:17 roberto Exp roberto $ 2** $Id: ltable.c,v 2.22 2005/05/16 21:19:00 roberto Exp roberto $
3** Lua tables (hash) 3** Lua tables (hash)
4** See Copyright Notice in lua.h 4** See Copyright Notice in lua.h
5*/ 5*/
@@ -151,7 +151,7 @@ static int findindex (lua_State *L, Table *t, StkId key) {
151 } 151 }
152 else n = gnext(n); 152 else n = gnext(n);
153 } while (n); 153 } while (n);
154 luaG_runerror(L, "invalid key to " LUA_SM, "next"); /* key not found */ 154 luaG_runerror(L, "invalid key to " LUA_QL("next")); /* key not found */
155 return 0; /* to avoid warnings */ 155 return 0; /* to avoid warnings */
156 } 156 }
157} 157}