diff options
-rw-r--r-- | ldebug.c | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: ldebug.c,v 2.32 2006/09/11 14:07:24 roberto Exp roberto $ | 2 | ** $Id: ldebug.c,v 2.33 2006/09/19 13:57:50 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 | */ |
@@ -168,7 +168,8 @@ static void funcinfo (lua_Debug *ar, Closure *cl) { | |||
168 | 168 | ||
169 | 169 | ||
170 | static void info_tailcall (lua_Debug *ar) { | 170 | static void info_tailcall (lua_Debug *ar) { |
171 | ar->name = ar->namewhat = ""; | 171 | ar->name = NULL; |
172 | ar->namewhat = ""; | ||
172 | ar->what = "tail"; | 173 | ar->what = "tail"; |
173 | ar->lastlinedefined = ar->linedefined = ar->currentline = -1; | 174 | ar->lastlinedefined = ar->linedefined = ar->currentline = -1; |
174 | ar->source = "=(tail call)"; | 175 | ar->source = "=(tail call)"; |