diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2013-12-16 17:06:52 -0200 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2013-12-16 17:06:52 -0200 |
commit | a948054a1951cd526c732d6a0e16d99cae837d49 (patch) | |
tree | d13984803c85e83eda285a285bd3de2e05a603af /ltm.c | |
parent | a8f8c7fd80a5c7e630fd4bf7f858d05024f6b434 (diff) | |
download | lua-a948054a1951cd526c732d6a0e16d99cae837d49.tar.gz lua-a948054a1951cd526c732d6a0e16d99cae837d49.tar.bz2 lua-a948054a1951cd526c732d6a0e16d99cae837d49.zip |
new order for binary operations (grouping them by type of result)
Diffstat (limited to 'ltm.c')
-rw-r--r-- | ltm.c | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: ltm.c,v 2.21 2013/08/21 20:09:51 roberto Exp roberto $ | 2 | ** $Id: ltm.c,v 2.22 2013/08/27 18:53:35 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 | */ |
@@ -36,8 +36,9 @@ void luaT_init (lua_State *L) { | |||
36 | static const char *const luaT_eventname[] = { /* ORDER TM */ | 36 | static const char *const luaT_eventname[] = { /* ORDER TM */ |
37 | "__index", "__newindex", | 37 | "__index", "__newindex", |
38 | "__gc", "__mode", "__len", "__eq", | 38 | "__gc", "__mode", "__len", "__eq", |
39 | "__add", "__sub", "__mul", "__div", "__idiv", "__mod", | 39 | "__add", "__sub", "__mul", "__mod", "__pow", |
40 | "__pow", "__unm", "__lt", "__le", | 40 | "__div", "__idiv", |
41 | "__unm", "__lt", "__le", | ||
41 | "__concat", "__call" | 42 | "__concat", "__call" |
42 | }; | 43 | }; |
43 | int i; | 44 | int i; |