aboutsummaryrefslogtreecommitdiff
path: root/ldebug.c
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2014-11-11 15:08:19 -0200
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2014-11-11 15:08:19 -0200
commitbe87789a6c71b95b9edc69fce16e1ef4eca2d666 (patch)
tree54863c52d6d877b86ddabdd2e4eae082ec3eab6f /ldebug.c
parentd1d1ddec1e4ffb53e646dde684d4a1262b3d43de (diff)
downloadlua-be87789a6c71b95b9edc69fce16e1ef4eca2d666.tar.gz
lua-be87789a6c71b95b9edc69fce16e1ef4eca2d666.tar.bz2
lua-be87789a6c71b95b9edc69fce16e1ef4eca2d666.zip
details
Diffstat (limited to 'ldebug.c')
-rw-r--r--ldebug.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/ldebug.c b/ldebug.c
index e61944c3..1435193a 100644
--- a/ldebug.c
+++ b/ldebug.c
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: ldebug.c,v 2.105 2014/11/10 14:46:46 roberto Exp roberto $ 2** $Id: ldebug.c,v 2.106 2014/11/10 18:41:19 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*/
@@ -513,7 +513,7 @@ static const char *getupvalname (CallInfo *ci, const TValue *o,
513 513
514 514
515static const char *varinfo (lua_State *L, const TValue *o) { 515static const char *varinfo (lua_State *L, const TValue *o) {
516 const char *name; 516 const char *name = NULL; /* to avoid warnings */
517 CallInfo *ci = L->ci; 517 CallInfo *ci = L->ci;
518 const char *kind = NULL; 518 const char *kind = NULL;
519 if (isLua(ci)) { 519 if (isLua(ci)) {
@@ -590,7 +590,7 @@ l_noret luaG_errormsg (lua_State *L) {
590 if (!ttisfunction(errfunc)) luaD_throw(L, LUA_ERRERR); 590 if (!ttisfunction(errfunc)) luaD_throw(L, LUA_ERRERR);
591 setobjs2s(L, L->top, L->top - 1); /* move argument */ 591 setobjs2s(L, L->top, L->top - 1); /* move argument */
592 setobjs2s(L, L->top - 1, errfunc); /* push function */ 592 setobjs2s(L, L->top - 1, errfunc); /* push function */
593 L->top++; 593 L->top++; /* assume EXTRA_STACK */
594 luaD_call(L, L->top - 2, 1, 0); /* call it */ 594 luaD_call(L, L->top - 2, 1, 0); /* call it */
595 } 595 }
596 luaD_throw(L, LUA_ERRRUN); 596 luaD_throw(L, LUA_ERRRUN);