8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-01-24 03:23:03 +01:00

Use static bison parser stack and allocate it from thread stack

This commit is contained in:
skidder 2004-01-23 06:35:26 +00:00
parent 24471092c1
commit dc9d71a768

View File

@ -117,6 +117,10 @@ const int DEF_CACHE_BUFFERS = 1000;
#define YYSTACKSIZE 2048
#define YYMAXDEPTH 2048
/* Make bison allocate static stack */
#define YYINITDEPTH 2048
#define YYSTACK_USE_ALLOCA 1
#define YYSTYPE DSQL_NOD
#if defined(DEBUG) || defined(DEV_BUILD)
#define YYDEBUG 1