aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2002-03-18 17:24:14 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2002-03-18 17:24:14 -0300
commit578d1da00d4144caaf2ea7406680f76adcfc5af1 (patch)
tree70ac41bf1c6e0066b8e9473c32c73dada244a3d5
parent24d6d0528ddecf787f3fa79c9e7e2c3afb73bd3f (diff)
downloadlua-578d1da00d4144caaf2ea7406680f76adcfc5af1.tar.gz
lua-578d1da00d4144caaf2ea7406680f76adcfc5af1.tar.bz2
lua-578d1da00d4144caaf2ea7406680f76adcfc5af1.zip
new names for tag methods
-rw-r--r--ltm.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/ltm.c b/ltm.c
index a9faf7a2..e53f49cb 100644
--- a/ltm.c
+++ b/ltm.c
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: ltm.c,v 1.1 2001/11/29 22:14:34 rieru Exp rieru $ 2** $Id: ltm.c,v 1.87 2002/02/14 21:40:29 roberto Exp roberto $
3** Tag methods 3** Tag methods
4** See Copyright Notice in lua.h 4** See Copyright Notice in lua.h
5*/ 5*/
@@ -25,11 +25,11 @@ const char *const luaT_typenames[] = {
25 25
26void luaT_init (lua_State *L) { 26void luaT_init (lua_State *L) {
27 static const char *const luaT_eventname[] = { /* ORDER TM */ 27 static const char *const luaT_eventname[] = { /* ORDER TM */
28 "gettable", "settable", "index", 28 "__gettable", "__settable", "__index",
29 "gc", "weakmode", 29 "__gc", "__weakmode",
30 "add", "sub", "mul", "div", 30 "__add", "__sub", "__mul", "__div",
31 "pow", "unm", "lt", "concat", 31 "__pow", "__unm", "__lt", "__concat",
32 "call" 32 "__call"
33 }; 33 };
34 int i; 34 int i;
35 for (i=0; i<TM_N; i++) { 35 for (i=0; i<TM_N; i++) {