From 7024f49c422956259c620fe6673ac42b33398adb Mon Sep 17 00:00:00 2001
From: Roberto Ierusalimschy <roberto@inf.puc-rio.br>
Date: Mon, 18 Dec 2017 11:01:49 -0200
Subject: default now is compiling without compatibility options + smaller
 stack size in debug mode (clang uses still more stack space when debugging).

---
 ltests.h | 28 ++++++++++++++--------------
 1 file changed, 14 insertions(+), 14 deletions(-)

diff --git a/ltests.h b/ltests.h
index 25598c0e..001b205c 100644
--- a/ltests.h
+++ b/ltests.h
@@ -1,5 +1,5 @@
 /*
-** $Id: ltests.h,v 2.53 2017/11/23 16:35:54 roberto Exp roberto $
+** $Id: ltests.h,v 2.54 2017/12/07 18:51:39 roberto Exp roberto $
 ** Internal Header for Debugging of the Lua Implementation
 ** See Copyright Notice in lua.h
 */
@@ -11,18 +11,18 @@
 #include <stdio.h>
 #include <stdlib.h>
 
-/* test Lua with no compatibility code */
-#undef LUA_COMPAT_MATHLIB
-#undef LUA_COMPAT_IPAIRS
-#undef LUA_COMPAT_BITLIB
-#undef LUA_COMPAT_APIINTCASTS
-#undef LUA_COMPAT_FLOATSTRING
-#undef LUA_COMPAT_UNPACK
-#undef LUA_COMPAT_LOADERS
-#undef LUA_COMPAT_LOG10
-#undef LUA_COMPAT_LOADSTRING
-#undef LUA_COMPAT_MAXN
-#undef LUA_COMPAT_MODULE
+/* test Lua with compatibility code */
+#define LUA_COMPAT_MATHLIB
+#define LUA_COMPAT_IPAIRS
+#define LUA_COMPAT_BITLIB
+#define LUA_COMPAT_APIINTCASTS
+#define LUA_COMPAT_FLOATSTRING
+#define LUA_COMPAT_UNPACK
+#define LUA_COMPAT_LOADERS
+#define LUA_COMPAT_LOG10
+#define LUA_COMPAT_LOADSTRING
+#define LUA_COMPAT_MAXN
+#define LUA_COMPAT_MODULE
 
 
 #define LUA_DEBUG
@@ -36,7 +36,7 @@
 
 /* compiled with -O0, Lua uses a lot of C stack space... */
 #undef LUAI_MAXCCALLS
-#define LUAI_MAXCCALLS	300
+#define LUAI_MAXCCALLS	200
 
 /* to avoid warnings, and to make sure value is really unused */
 #define UNUSED(x)       (x=0, (void)(x))
-- 
cgit v1.2.3-55-g6feb