first implementation of bitwise operators '&' (band), '|' (bor),

and '~' (bxor)
This commit is contained in:
Roberto Ierusalimschy
2013-12-18 12:12:03 -02:00
parent a948054a19
commit c0edab0f6d
11 changed files with 122 additions and 47 deletions

5
ltm.h
View File

@@ -1,5 +1,5 @@
/*
** $Id: ltm.h,v 2.16 2013/04/29 16:56:50 roberto Exp roberto $
** $Id: ltm.h,v 2.17 2013/12/16 19:06:52 roberto Exp roberto $
** Tag methods
** See Copyright Notice in lua.h
*/
@@ -29,6 +29,9 @@ typedef enum {
TM_POW,
TM_DIV,
TM_IDIV,
TM_BAND,
TM_BOR,
TM_BXOR,
TM_UNM,
TM_LT,
TM_LE,