diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2005-07-11 10:59:03 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2005-07-11 10:59:03 -0300 |
commit | 87be01598bd06ada6acb9389947f427ca80231a5 (patch) | |
tree | b3daedf13f008f8f3d8afcf118c53b91ebf04838 | |
parent | e84b11a4940d418106854184bd8259b9a8ec37da (diff) | |
download | lua-87be01598bd06ada6acb9389947f427ca80231a5.tar.gz lua-87be01598bd06ada6acb9389947f427ca80231a5.tar.bz2 lua-87be01598bd06ada6acb9389947f427ca80231a5.zip |
warnings Visual C
-rw-r--r-- | ldebug.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: ldebug.c,v 2.23 2005/06/13 14:39:19 roberto Exp roberto $ | 2 | ** $Id: ldebug.c,v 2.24 2005/06/28 13:01:31 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 | */ |
@@ -164,7 +164,7 @@ static void funcinfo (lua_Debug *ar, Closure *cl) { | |||
164 | } | 164 | } |
165 | 165 | ||
166 | 166 | ||
167 | static void info_tailcall (lua_State *L, lua_Debug *ar) { | 167 | static void info_tailcall (lua_Debug *ar) { |
168 | ar->name = ar->namewhat = ""; | 168 | ar->name = ar->namewhat = ""; |
169 | ar->what = "tail"; | 169 | ar->what = "tail"; |
170 | ar->lastlinedefined = ar->linedefined = ar->currentline = -1; | 170 | ar->lastlinedefined = ar->linedefined = ar->currentline = -1; |
@@ -194,7 +194,7 @@ static int auxgetinfo (lua_State *L, const char *what, lua_Debug *ar, | |||
194 | Closure *f, CallInfo *ci) { | 194 | Closure *f, CallInfo *ci) { |
195 | int status = 1; | 195 | int status = 1; |
196 | if (f == NULL) { | 196 | if (f == NULL) { |
197 | info_tailcall(L, ar); | 197 | info_tailcall(ar); |
198 | return status; | 198 | return status; |
199 | } | 199 | } |
200 | for (; *what; what++) { | 200 | for (; *what; what++) { |