aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ldebug.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/ldebug.c b/ldebug.c
index d768c156..c7279db6 100644
--- a/ldebug.c
+++ b/ldebug.c
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: ldebug.c,v 1.146 2003/02/27 11:52:30 roberto Exp roberto $ 2** $Id: ldebug.c,v 1.147 2003/02/27 12:32:30 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*/
@@ -158,7 +158,7 @@ LUA_API const char *lua_setlocal (lua_State *L, const lua_Debug *ar, int n) {
158} 158}
159 159
160 160
161static void funcinfo (lua_State *L, lua_Debug *ar, StkId func) { 161static void funcinfo (lua_Debug *ar, StkId func) {
162 Closure *cl = clvalue(func); 162 Closure *cl = clvalue(func);
163 if (cl->c.isC) { 163 if (cl->c.isC) {
164 ar->source = "=[C]"; 164 ar->source = "=[C]";
@@ -203,7 +203,7 @@ static int getinfo (lua_State *L, const char *what, lua_Debug *ar,
203 for (; *what; what++) { 203 for (; *what; what++) {
204 switch (*what) { 204 switch (*what) {
205 case 'S': { 205 case 'S': {
206 funcinfo(L, ar, f); 206 funcinfo(ar, f);
207 break; 207 break;
208 } 208 }
209 case 'l': { 209 case 'l': {