aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ltests.h7
-rw-r--r--luaconf.h10
2 files changed, 2 insertions, 15 deletions
diff --git a/ltests.h b/ltests.h
index 166f1ce1..18ae9a01 100644
--- a/ltests.h
+++ b/ltests.h
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: ltests.h,v 2.45 2014/12/09 17:17:40 roberto Exp roberto $ 2** $Id: ltests.h,v 2.46 2014/12/19 13:33:06 roberto Exp roberto $
3** Internal Header for Debugging of the Lua Implementation 3** Internal Header for Debugging of the Lua Implementation
4** See Copyright Notice in lua.h 4** See Copyright Notice in lua.h
5*/ 5*/
@@ -109,10 +109,5 @@ LUA_API void *debug_realloc (void *ud, void *block,
109#undef LUAI_USER_ALIGNMENT_T 109#undef LUAI_USER_ALIGNMENT_T
110#define LUAI_USER_ALIGNMENT_T union { char b[sizeof(void*) * 8]; } 110#define LUAI_USER_ALIGNMENT_T union { char b[sizeof(void*) * 8]; }
111 111
112
113/* check macro 'luai_numinvalidop' */
114#undef luai_numinvalidop
115#define luai_numinvalidop(op,a,b) (op == LUA_OPADD && a == 1.5 && b == 1)
116
117#endif 112#endif
118 113
diff --git a/luaconf.h b/luaconf.h
index 082af665..4b0ca0a6 100644
--- a/luaconf.h
+++ b/luaconf.h
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: luaconf.h,v 1.235 2014/12/16 17:17:30 roberto Exp roberto $ 2** $Id: luaconf.h,v 1.236 2014/12/19 13:31:12 roberto Exp roberto $
3** Configuration file for Lua 3** Configuration file for Lua
4** See Copyright Notice in lua.h 4** See Copyright Notice in lua.h
5*/ 5*/
@@ -508,14 +508,6 @@
508 508
509 509
510/* 510/*
511** The following macro checks whether an operation is not safe to be
512** performed by the constant folder. It should result in zero only if
513** the operation is safe.
514*/
515#define luai_numinvalidop(op,a,b) 0
516
517
518/*
519@@ LUA_INTEGER is the integer type used by Lua. 511@@ LUA_INTEGER is the integer type used by Lua.
520** 512**
521@@ LUA_UNSIGNED is the unsigned version of LUA_INTEGER. 513@@ LUA_UNSIGNED is the unsigned version of LUA_INTEGER.