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.h | |
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.h')
-rw-r--r-- | ltm.h | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: ltm.h,v 2.15 2013/04/26 13:07:53 roberto Exp roberto $ | 2 | ** $Id: ltm.h,v 2.16 2013/04/29 16:56:50 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 | */ |
@@ -13,7 +13,7 @@ | |||
13 | 13 | ||
14 | /* | 14 | /* |
15 | * WARNING: if you change the order of this enumeration, | 15 | * WARNING: if you change the order of this enumeration, |
16 | * grep "ORDER TM" | 16 | * grep "ORDER TM" and "ORDER OP" |
17 | */ | 17 | */ |
18 | typedef enum { | 18 | typedef enum { |
19 | TM_INDEX, | 19 | TM_INDEX, |
@@ -25,10 +25,10 @@ typedef enum { | |||
25 | TM_ADD, | 25 | TM_ADD, |
26 | TM_SUB, | 26 | TM_SUB, |
27 | TM_MUL, | 27 | TM_MUL, |
28 | TM_DIV, | ||
29 | TM_IDIV, | ||
30 | TM_MOD, | 28 | TM_MOD, |
31 | TM_POW, | 29 | TM_POW, |
30 | TM_DIV, | ||
31 | TM_IDIV, | ||
32 | TM_UNM, | 32 | TM_UNM, |
33 | TM_LT, | 33 | TM_LT, |
34 | TM_LE, | 34 | TM_LE, |