diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2000-03-03 11:58:26 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2000-03-03 11:58:26 -0300 |
commit | 3c9d999424520c809e05bee11d81788b488434f6 (patch) | |
tree | 7556d9ea10bda42b226aec4dd956753467cc0864 /ldebug.c | |
parent | f7840a3e0bc07813246b2bad6bf4579848187908 (diff) | |
download | lua-3c9d999424520c809e05bee11d81788b488434f6.tar.gz lua-3c9d999424520c809e05bee11d81788b488434f6.tar.bz2 lua-3c9d999424520c809e05bee11d81788b488434f6.zip |
many details (most by lhf).
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.8 2000/02/11 16:52:54 roberto Exp roberto $ | 2 | ** $Id: ldebug.c,v 1.9 2000/02/17 18:30:36 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 | */ |
@@ -187,7 +187,7 @@ static void lua_getobjname (lua_State *L, StkId f, lua_Dbgactreg *ar) { | |||
187 | int lua_getinfo (lua_State *L, const char *what, lua_Dbgactreg *ar) { | 187 | int lua_getinfo (lua_State *L, const char *what, lua_Dbgactreg *ar) { |
188 | StkId func = ar->_func; | 188 | StkId func = ar->_func; |
189 | LUA_ASSERT(L, is_T_MARK(ttype(func)), "invalid activation record"); | 189 | LUA_ASSERT(L, is_T_MARK(ttype(func)), "invalid activation record"); |
190 | for ( ;*what; what++) { | 190 | for (; *what; what++) { |
191 | switch (*what) { | 191 | switch (*what) { |
192 | case 'S': | 192 | case 'S': |
193 | lua_funcinfo(ar); | 193 | lua_funcinfo(ar); |