mirror of
https://github.com/lua/lua.git
synced 2025-07-04 15:09:38 +00:00
first implementation of bitwise operators '&' (band), '|' (bor),
and '~' (bxor)
This commit is contained in:
parent
a948054a19
commit
c0edab0f6d
11 changed files with 122 additions and 47 deletions
3
lcode.h
3
lcode.h
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
** $Id: lcode.h,v 1.60 2013/04/26 13:07:53 roberto Exp roberto $
|
||||
** $Id: lcode.h,v 1.61 2013/12/16 19:06:52 roberto Exp roberto $
|
||||
** Code generator for Lua
|
||||
** See Copyright Notice in lua.h
|
||||
*/
|
||||
|
@ -27,6 +27,7 @@ typedef enum BinOpr {
|
|||
OPR_ADD, OPR_SUB, OPR_MUL, OPR_MOD, OPR_POW,
|
||||
OPR_DIV,
|
||||
OPR_IDIV,
|
||||
OPR_BAND, OPR_BOR, OPR_BXOR,
|
||||
OPR_CONCAT,
|
||||
OPR_EQ, OPR_LT, OPR_LE,
|
||||
OPR_NE, OPR_GT, OPR_GE,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue