aboutsummaryrefslogtreecommitdiff
path: root/ldebug.c
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2000-12-26 16:46:09 -0200
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2000-12-26 16:46:09 -0200
commit8c49e198654567f770a7d5081b886a7c35201d81 (patch)
tree8c1de3e885ef138574e51a8868f175feeaab71e2 /ldebug.c
parent6af005ec20323defd2a5ead01e2d389462884d04 (diff)
downloadlua-8c49e198654567f770a7d5081b886a7c35201d81.tar.gz
lua-8c49e198654567f770a7d5081b886a7c35201d81.tar.bz2
lua-8c49e198654567f770a7d5081b886a7c35201d81.zip
explicit control of size for growing vectors
Diffstat (limited to 'ldebug.c')
-rw-r--r--ldebug.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ldebug.c b/ldebug.c
index 72344181..b3cc80d8 100644
--- a/ldebug.c
+++ b/ldebug.c
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: ldebug.c,v 1.50 2000/10/30 12:38:50 roberto Exp roberto $ 2** $Id: ldebug.c,v 1.51 2000/11/30 18:50:47 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*/
@@ -210,7 +210,7 @@ static const char *travtagmethods (lua_State *L, const TObject *o) {
210 int e; 210 int e;
211 for (e=0; e<TM_N; e++) { 211 for (e=0; e<TM_N; e++) {
212 int t; 212 int t;
213 for (t=0; t<=L->last_tag; t++) 213 for (t=0; t<L->ntag; t++)
214 if (clvalue(o) == luaT_gettm(L, t, e)) 214 if (clvalue(o) == luaT_gettm(L, t, e))
215 return luaT_eventname[e]; 215 return luaT_eventname[e];
216 } 216 }