diff options
| author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2005-05-16 18:19:00 -0300 |
|---|---|---|
| committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2005-05-16 18:19:00 -0300 |
| commit | c2bb9abceceef125554595e23b7cc18ad3555c7c (patch) | |
| tree | 2c00262ddf0e4f8acc1db83bdee4a56bb2458117 /ltable.c | |
| parent | da32450c3d4c8abd3fd6709692859a12a8886511 (diff) | |
| download | lua-c2bb9abceceef125554595e23b7cc18ad3555c7c.tar.gz lua-c2bb9abceceef125554595e23b7cc18ad3555c7c.tar.bz2 lua-c2bb9abceceef125554595e23b7cc18ad3555c7c.zip | |
better quotes for strings in error messages
Diffstat (limited to 'ltable.c')
| -rw-r--r-- | ltable.c | 4 |
1 files changed, 2 insertions, 2 deletions
| @@ -1,5 +1,5 @@ | |||
| 1 | /* | 1 | /* |
| 2 | ** $Id: ltable.c,v 2.20 2005/04/01 13:51:37 roberto Exp roberto $ | 2 | ** $Id: ltable.c,v 2.21 2005/05/03 19:30:17 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 for `next'"); /* key not found */ | 154 | luaG_runerror(L, "invalid key to " LUA_SM, "next"); /* key not found */ |
| 155 | return 0; /* to avoid warnings */ | 155 | return 0; /* to avoid warnings */ |
| 156 | } | 156 | } |
| 157 | } | 157 | } |
