some bugs related to stack reallocation

This commit is contained in:
Roberto Ierusalimschy
2005-08-24 13:15:49 -03:00
parent 23b79c5945
commit 98296f6b45
6 changed files with 42 additions and 38 deletions

View File

@@ -1,5 +1,5 @@
/*
** $Id: llimits.h,v 1.65 2005/03/09 16:28:07 roberto Exp roberto $
** $Id: llimits.h,v 1.66 2005/08/04 13:37:10 roberto Exp roberto $
** Limits, basic types, and some other `installation-dependent' definitions
** See Copyright Notice in lua.h
*/
@@ -103,4 +103,13 @@ typedef lu_int32 Instruction;
#endif
/*
** macro to control inclusion of some hard tests on stack reallocation
*/
#ifndef HARDSTACKTESTS
#define condhardstacktests(x) ((void)0)
#else
#define condhardstacktests(x) x
#endif
#endif