diff options
| author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2018-04-19 12:42:41 -0300 |
|---|---|---|
| committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2018-04-19 12:42:41 -0300 |
| commit | 26eb144541714343f8aeb124150d60cf7d91fac7 (patch) | |
| tree | 5ad6f2e3b7ff63e1daf52ce4cc95cd220ad0c35f /ltests.h | |
| parent | f9c3d6fdbea21e83cfc50bcaa617ff59a3d36434 (diff) | |
| download | lua-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.h | 6 |
1 files changed, 5 insertions, 1 deletions
| @@ -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 |
