aboutsummaryrefslogtreecommitdiff
path: root/lcode.h
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2013-12-18 12:12:03 -0200
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2013-12-18 12:12:03 -0200
commitc0edab0f6de39ba5ae2e2f1540fa98f1b507afec (patch)
tree9401b36cf92a0f37ae6a9cf052c99ff11787246e /lcode.h
parenta948054a1951cd526c732d6a0e16d99cae837d49 (diff)
downloadlua-c0edab0f6de39ba5ae2e2f1540fa98f1b507afec.tar.gz
lua-c0edab0f6de39ba5ae2e2f1540fa98f1b507afec.tar.bz2
lua-c0edab0f6de39ba5ae2e2f1540fa98f1b507afec.zip
first implementation of bitwise operators '&' (band), '|' (bor),
and '~' (bxor)
Diffstat (limited to 'lcode.h')
-rw-r--r--lcode.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/lcode.h b/lcode.h
index 65416637..713f76aa 100644
--- a/lcode.h
+++ b/lcode.h
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lcode.h,v 1.60 2013/04/26 13:07:53 roberto Exp roberto $ 2** $Id: lcode.h,v 1.61 2013/12/16 19:06:52 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*/
@@ -27,6 +27,7 @@ typedef enum BinOpr {
27 OPR_ADD, OPR_SUB, OPR_MUL, OPR_MOD, OPR_POW, 27 OPR_ADD, OPR_SUB, OPR_MUL, OPR_MOD, OPR_POW,
28 OPR_DIV, 28 OPR_DIV,
29 OPR_IDIV, 29 OPR_IDIV,
30 OPR_BAND, OPR_BOR, OPR_BXOR,
30 OPR_CONCAT, 31 OPR_CONCAT,
31 OPR_EQ, OPR_LT, OPR_LE, 32 OPR_EQ, OPR_LT, OPR_LE,
32 OPR_NE, OPR_GT, OPR_GE, 33 OPR_NE, OPR_GT, OPR_GE,