aboutsummaryrefslogtreecommitdiff
path: root/ltm.c
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2005-03-08 15:00:16 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2005-03-08 15:00:16 -0300
commit7d57ea70bc975922485d589c8a6d8dedaa0fba02 (patch)
treed7f7da1492de151749a69042cd2bf63320638020 /ltm.c
parent2d5b923759a77d8f5f7bfa62906ea37f46b9281d (diff)
downloadlua-7d57ea70bc975922485d589c8a6d8dedaa0fba02.tar.gz
lua-7d57ea70bc975922485d589c8a6d8dedaa0fba02.tar.bz2
lua-7d57ea70bc975922485d589c8a6d8dedaa0fba02.zip
new `mod' (`%') operator
Diffstat (limited to 'ltm.c')
-rw-r--r--ltm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ltm.c b/ltm.c
index 1364d8e6..ef023528 100644
--- a/ltm.c
+++ b/ltm.c
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: ltm.c,v 2.2 2004/02/16 19:09:52 roberto Exp roberto $ 2** $Id: ltm.c,v 2.3 2004/04/30 20:13:38 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*/
@@ -31,7 +31,7 @@ void luaT_init (lua_State *L) {
31 static const char *const luaT_eventname[] = { /* ORDER TM */ 31 static const char *const luaT_eventname[] = { /* ORDER TM */
32 "__index", "__newindex", 32 "__index", "__newindex",
33 "__gc", "__mode", "__eq", 33 "__gc", "__mode", "__eq",
34 "__add", "__sub", "__mul", "__div", 34 "__add", "__sub", "__mul", "__div", "__mod",
35 "__pow", "__unm", "__lt", "__le", 35 "__pow", "__unm", "__lt", "__le",
36 "__concat", "__call" 36 "__concat", "__call"
37 }; 37 };