diff options
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); |