aboutsummaryrefslogtreecommitdiff
path: root/ltests.h
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2018-04-19 12:42:41 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2018-04-19 12:42:41 -0300
commit26eb144541714343f8aeb124150d60cf7d91fac7 (patch)
tree5ad6f2e3b7ff63e1daf52ce4cc95cd220ad0c35f /ltests.h
parentf9c3d6fdbea21e83cfc50bcaa617ff59a3d36434 (diff)
downloadlua-26eb144541714343f8aeb124150d60cf7d91fac7.tar.gz
lua-26eb144541714343f8aeb124150d60cf7d91fac7.tar.bz2
lua-26eb144541714343f8aeb124150d60cf7d91fac7.zip
no need to define 'luaP_opnames' in regular builds
Diffstat (limited to 'ltests.h')
-rw-r--r--ltests.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/ltests.h b/ltests.h
index e718e764..a6cee3c7 100644
--- a/ltests.h
+++ b/ltests.h
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: ltests.h,v 2.56 2018/02/27 18:47:32 roberto Exp roberto $ 2** $Id: ltests.h,v 2.57 2018/04/11 16:49:36 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,10 @@
24#define lua_assert(c) assert(c) 24#define lua_assert(c) assert(c)
25 25
26 26
27/* include opcode names */
28#define LUAI_DEFOPNAMES
29
30
27/* compiled with -O0, Lua uses a lot of C stack space... */ 31/* compiled with -O0, Lua uses a lot of C stack space... */
28#undef LUAI_MAXCCALLS 32#undef LUAI_MAXCCALLS
29#define LUAI_MAXCCALLS 200 33#define LUAI_MAXCCALLS 200