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 2.96 2013/07/10 20:32:36 roberto Exp roberto $ | 2 | ** $Id: ldebug.c,v 2.97 2013/12/09 14:21:10 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 | */ |
@@ -271,7 +271,7 @@ LUA_API int lua_getinfo (lua_State *L, const char *what, lua_Debug *ar) { | |||
271 | if (*what == '>') { | 271 | if (*what == '>') { |
272 | ci = NULL; | 272 | ci = NULL; |
273 | func = L->top - 1; | 273 | func = L->top - 1; |
274 | api_check(L, ttisfunction(func), "function expected"); | 274 | api_check(ttisfunction(func), "function expected"); |
275 | what++; /* skip the '>' */ | 275 | what++; /* skip the '>' */ |
276 | L->top--; /* pop function */ | 276 | L->top--; /* pop function */ |
277 | } | 277 | } |