diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2000-05-08 17:49:05 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2000-05-08 17:49:05 -0300 |
commit | bad6365540ad9e17e51137a6797ff196d6b8d2a1 (patch) | |
tree | 8d16d51f0c4167f59a879751660742ff28bf011f /ldebug.c | |
parent | 91f34fb05caa9590cd19a986e865a93361b1c398 (diff) | |
download | lua-bad6365540ad9e17e51137a6797ff196d6b8d2a1.tar.gz lua-bad6365540ad9e17e51137a6797ff196d6b8d2a1.tar.bz2 lua-bad6365540ad9e17e51137a6797ff196d6b8d2a1.zip |
details
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 1.16 2000/03/30 20:55:50 roberto Exp roberto $ | 2 | ** $Id: ldebug.c,v 1.17 2000/05/08 19:32: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 | */ |
@@ -197,7 +197,7 @@ int lua_getinfo (lua_State *L, const char *what, lua_Debug *ar) { | |||
197 | case 'f': | 197 | case 'f': |
198 | setnormalized(L->top, func); | 198 | setnormalized(L->top, func); |
199 | incr_top; | 199 | incr_top; |
200 | ar->func = luaA_putObjectOnTop(L); | 200 | ar->func = lua_pop(L); |
201 | break; | 201 | break; |
202 | default: return 0; /* invalid option */ | 202 | default: return 0; /* invalid option */ |
203 | } | 203 | } |