diff options
| author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2009-08-07 13:17:41 -0300 |
|---|---|---|
| committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2009-08-07 13:17:41 -0300 |
| commit | 3135a6bbaba406fd9f1e97e0b9c8415e1ad32579 (patch) | |
| tree | d03a797b5a3bad7b83013f4c4ae7162423622476 /ldebug.c | |
| parent | 95cbc402dc4f246d2eeff3b53afcd183b3a8ccb0 (diff) | |
| download | lua-3135a6bbaba406fd9f1e97e0b9c8415e1ad32579.tar.gz lua-3135a6bbaba406fd9f1e97e0b9c8415e1ad32579.tar.bz2 lua-3135a6bbaba406fd9f1e97e0b9c8415e1ad32579.zip | |
luaH_[gs]etnum renamed to luaH_[gs]etint (as they only accept integers,
not generic numbers)
Diffstat (limited to 'ldebug.c')
| -rw-r--r-- | ldebug.c | 4 |
1 files changed, 2 insertions, 2 deletions
| @@ -1,5 +1,5 @@ | |||
| 1 | /* | 1 | /* |
| 2 | ** $Id: ldebug.c,v 2.51 2009/06/01 19:09:26 roberto Exp roberto $ | 2 | ** $Id: ldebug.c,v 2.52 2009/06/10 16:57:53 roberto Exp roberto $ |
| 3 | ** Debug Interface | 3 | ** Debug Interface |
| 4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
| 5 | */ | 5 | */ |
| @@ -191,7 +191,7 @@ static void collectvalidlines (lua_State *L, Closure *f) { | |||
| 191 | sethvalue(L, L->top, t); | 191 | sethvalue(L, L->top, t); |
| 192 | incr_top(L); | 192 | incr_top(L); |
| 193 | for (i=0; i<f->l.p->sizelineinfo; i++) | 193 | for (i=0; i<f->l.p->sizelineinfo; i++) |
| 194 | setbvalue(luaH_setnum(L, t, lineinfo[i]), 1); | 194 | setbvalue(luaH_setint(L, t, lineinfo[i]), 1); |
| 195 | } | 195 | } |
| 196 | } | 196 | } |
| 197 | 197 | ||
