lua

A copy of the Lua development repository
Log | Files | Refs | README

commit a68df3898d3f4768106481e1a8010a768f22f943
parent 4d7cfff6df9cbd5a60bfa41acf4bcc93413b038f
Author: Roberto Ierusalimschy <roberto@inf.puc-rio.br>
Date:   Wed, 22 Nov 2006 09:43:24 -0200

detail

Diffstat:
Mldebug.c | 5+++--
1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/ldebug.c b/ldebug.c @@ -1,5 +1,5 @@ /* -** $Id: ldebug.c,v 2.32 2006/09/11 14:07:24 roberto Exp roberto $ +** $Id: ldebug.c,v 2.33 2006/09/19 13:57:50 roberto Exp roberto $ ** Debug Interface ** See Copyright Notice in lua.h */ @@ -168,7 +168,8 @@ static void funcinfo (lua_Debug *ar, Closure *cl) { static void info_tailcall (lua_Debug *ar) { - ar->name = ar->namewhat = ""; + ar->name = NULL; + ar->namewhat = ""; ar->what = "tail"; ar->lastlinedefined = ar->linedefined = ar->currentline = -1; ar->source = "=(tail call)";