aboutsummaryrefslogtreecommitdiff
path: root/lcode.h
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2013-12-16 17:06:52 -0200
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2013-12-16 17:06:52 -0200
commita948054a1951cd526c732d6a0e16d99cae837d49 (patch)
treed13984803c85e83eda285a285bd3de2e05a603af /lcode.h
parenta8f8c7fd80a5c7e630fd4bf7f858d05024f6b434 (diff)
downloadlua-a948054a1951cd526c732d6a0e16d99cae837d49.tar.gz
lua-a948054a1951cd526c732d6a0e16d99cae837d49.tar.bz2
lua-a948054a1951cd526c732d6a0e16d99cae837d49.zip
new order for binary operations (grouping them by type of result)
Diffstat (limited to 'lcode.h')
-rw-r--r--lcode.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/lcode.h b/lcode.h
index ddf4094c..65416637 100644
--- a/lcode.h
+++ b/lcode.h
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lcode.h,v 1.59 2013/04/25 19:35:19 roberto Exp roberto $ 2** $Id: lcode.h,v 1.60 2013/04/26 13:07:53 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,9 @@
24** grep "ORDER OPR" if you change these enums (ORDER OP) 24** grep "ORDER OPR" if you change these enums (ORDER OP)
25*/ 25*/
26typedef enum BinOpr { 26typedef enum BinOpr {
27 OPR_ADD, OPR_SUB, OPR_MUL, OPR_DIV, OPR_IDIV, OPR_MOD, OPR_POW, 27 OPR_ADD, OPR_SUB, OPR_MUL, OPR_MOD, OPR_POW,
28 OPR_DIV,
29 OPR_IDIV,
28 OPR_CONCAT, 30 OPR_CONCAT,
29 OPR_EQ, OPR_LT, OPR_LE, 31 OPR_EQ, OPR_LT, OPR_LE,
30 OPR_NE, OPR_GT, OPR_GE, 32 OPR_NE, OPR_GT, OPR_GE,