Details (do not affect regular code)

* Avoids multiple definitions of 'lua_assert' in test file.
* Smaller C-stack limit in test mode.
* Note in the manual about the use of false
* Extra test for constant reuse.
This commit is contained in:
Roberto Ierusalimschy
2020-12-07 11:17:30 -03:00
parent 23051e830a
commit e2ea3b31c9
4 changed files with 31 additions and 3 deletions

View File

@@ -130,6 +130,11 @@ LUA_API void *debug_realloc (void *ud, void *block,
#define LUAI_MAXSTACK 50000
/* test mode uses more stack space */
#undef LUAI_MAXCCALLS
#define LUAI_MAXCCALLS 180
/* force Lua to use its own implementations */
#undef lua_strx2number
#undef lua_number2strx