diff options
| author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2013-04-26 10:08:29 -0300 |
|---|---|---|
| committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2013-04-26 10:08:29 -0300 |
| commit | a2f5c28a802ae99f2045ab96585fade2c65b2037 (patch) | |
| tree | eb2ab3d1fc8dc2084505ed4286502ed75b6721ba /lcode.h | |
| parent | a80a2b5e561b50c1f64e96c3692614611a325aba (diff) | |
| download | lua-a2f5c28a802ae99f2045ab96585fade2c65b2037.tar.gz lua-a2f5c28a802ae99f2045ab96585fade2c65b2037.tar.bz2 lua-a2f5c28a802ae99f2045ab96585fade2c65b2037.zip | |
new operation '//' (integer division)
Diffstat (limited to 'lcode.h')
| -rw-r--r-- | lcode.h | 4 |
1 files changed, 2 insertions, 2 deletions
| @@ -1,5 +1,5 @@ | |||
| 1 | /* | 1 | /* |
| 2 | ** $Id: lcode.h,v 1.58 2011/08/30 16:26:41 roberto Exp roberto $ | 2 | ** $Id: lcode.h,v 1.59 2013/04/25 19:35:19 roberto Exp roberto $ |
| 3 | ** Code generator for Lua | 3 | ** Code generator for Lua |
| 4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
| 5 | */ | 5 | */ |
| @@ -24,7 +24,7 @@ | |||
| 24 | ** grep "ORDER OPR" if you change these enums (ORDER OP) | 24 | ** grep "ORDER OPR" if you change these enums (ORDER OP) |
| 25 | */ | 25 | */ |
| 26 | typedef enum BinOpr { | 26 | typedef enum BinOpr { |
| 27 | OPR_ADD, OPR_SUB, OPR_MUL, OPR_DIV, OPR_MOD, OPR_POW, | 27 | OPR_ADD, OPR_SUB, OPR_MUL, OPR_DIV, OPR_IDIV, OPR_MOD, OPR_POW, |
| 28 | OPR_CONCAT, | 28 | OPR_CONCAT, |
| 29 | OPR_EQ, OPR_LT, OPR_LE, | 29 | OPR_EQ, OPR_LT, OPR_LE, |
| 30 | OPR_NE, OPR_GT, OPR_GE, | 30 | OPR_NE, OPR_GT, OPR_GE, |
