no need to define 'luaP_opnames' in regular builds

This commit is contained in:
Roberto Ierusalimschy
2018-04-19 12:42:41 -03:00
parent f9c3d6fdbe
commit 26eb144541
2 changed files with 10 additions and 2 deletions

View File

@@ -1,5 +1,5 @@
/*
** $Id: ltests.h,v 2.56 2018/02/27 18:47:32 roberto Exp roberto $
** $Id: ltests.h,v 2.57 2018/04/11 16:49:36 roberto Exp roberto $
** Internal Header for Debugging of the Lua Implementation
** See Copyright Notice in lua.h
*/
@@ -24,6 +24,10 @@
#define lua_assert(c) assert(c)
/* include opcode names */
#define LUAI_DEFOPNAMES
/* compiled with -O0, Lua uses a lot of C stack space... */
#undef LUAI_MAXCCALLS
#define LUAI_MAXCCALLS 200