diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2005-03-08 15:00:16 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2005-03-08 15:00:16 -0300 |
commit | 7d57ea70bc975922485d589c8a6d8dedaa0fba02 (patch) | |
tree | d7f7da1492de151749a69042cd2bf63320638020 /ltm.c | |
parent | 2d5b923759a77d8f5f7bfa62906ea37f46b9281d (diff) | |
download | lua-7d57ea70bc975922485d589c8a6d8dedaa0fba02.tar.gz lua-7d57ea70bc975922485d589c8a6d8dedaa0fba02.tar.bz2 lua-7d57ea70bc975922485d589c8a6d8dedaa0fba02.zip |
new `mod' (`%') operator
Diffstat (limited to 'ltm.c')
-rw-r--r-- | ltm.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 | }; |