summaryrefslogtreecommitdiff
path: root/libs/liblua/src/lopcodes.h
diff options
context:
space:
mode:
authoraunsane <aunsane@gmail.com>2016-12-27 00:46:46 +0300
committeraunsane <aunsane@gmail.com>2016-12-27 00:47:12 +0300
commit4f5ab8c9b5866c4445d8f37f608244ea9bf4494f (patch)
tree2e1e5a3dee91e0c8f9aed1cdc8f2465d9e1b3d35 /libs/liblua/src/lopcodes.h
parentab80b3e01ac99d5f31e2de10bf8299579afa87b4 (diff)
Updated lua lib to 5.3.4
Diffstat (limited to 'libs/liblua/src/lopcodes.h')
-rw-r--r--libs/liblua/src/lopcodes.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/libs/liblua/src/lopcodes.h b/libs/liblua/src/lopcodes.h
index 864b8e4bb5..dd2a7571d9 100644
--- a/libs/liblua/src/lopcodes.h
+++ b/libs/liblua/src/lopcodes.h
@@ -1,5 +1,5 @@
/*
-** $Id: lopcodes.h,v 1.148 2014/10/25 11:50:46 roberto Exp $
+** $Id: lopcodes.h,v 1.148 2014/10/25 11:50:46 roberto Exp roberto $
** Opcodes for Lua virtual machine
** See Copyright Notice in lua.h
*/
@@ -139,7 +139,9 @@ enum OpMode {iABC, iABx, iAsBx, iAx}; /* basic instruction format */
/* gets the index of the constant */
#define INDEXK(r) ((int)(r) & ~BITRK)
+#if !defined(MAXINDEXRK) /* (for debugging only) */
#define MAXINDEXRK (BITRK - 1)
+#endif
/* code a constant index as a RK value */
#define RKASK(x) ((x) | BITRK)