aboutsummaryrefslogtreecommitdiff
path: root/ltests.h
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2014-12-06 18:42:58 -0200
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2014-12-06 18:42:58 -0200
commit460968353f602af5986e706ff776c80455f1f8fa (patch)
treefa881515ddea0d2447f802db17fa46a636a2df6e /ltests.h
parent32a1f54b9aba958429dd3fd249b62199071ed8aa (diff)
downloadlua-460968353f602af5986e706ff776c80455f1f8fa.tar.gz
lua-460968353f602af5986e706ff776c80455f1f8fa.tar.bz2
lua-460968353f602af5986e706ff776c80455f1f8fa.zip
in test mode, debug library is not predefined (to allow testing
'preloadedlibs')
Diffstat (limited to 'ltests.h')
-rw-r--r--ltests.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/ltests.h b/ltests.h
index 6a55e2db..0f9a4bc9 100644
--- a/ltests.h
+++ b/ltests.h
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: ltests.h,v 2.41 2014/11/24 14:56:56 roberto Exp roberto $ 2** $Id: ltests.h,v 2.42 2014/11/29 19:45:37 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*/
@@ -24,6 +24,9 @@
24#undef LUA_COMPAT_MODULE 24#undef LUA_COMPAT_MODULE
25 25
26 26
27/* test without preloding debug library */
28#define LUA_NODEBUGLIB
29
27#define LUA_DEBUG 30#define LUA_DEBUG
28 31
29 32