mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-24 12:03:02 +01:00
Use static bison parser stack and allocate it from thread stack
This commit is contained in:
parent
24471092c1
commit
dc9d71a768
@ -117,6 +117,10 @@ const int DEF_CACHE_BUFFERS = 1000;
|
|||||||
#define YYSTACKSIZE 2048
|
#define YYSTACKSIZE 2048
|
||||||
#define YYMAXDEPTH 2048
|
#define YYMAXDEPTH 2048
|
||||||
|
|
||||||
|
/* Make bison allocate static stack */
|
||||||
|
#define YYINITDEPTH 2048
|
||||||
|
#define YYSTACK_USE_ALLOCA 1
|
||||||
|
|
||||||
#define YYSTYPE DSQL_NOD
|
#define YYSTYPE DSQL_NOD
|
||||||
#if defined(DEBUG) || defined(DEV_BUILD)
|
#if defined(DEBUG) || defined(DEV_BUILD)
|
||||||
#define YYDEBUG 1
|
#define YYDEBUG 1
|
||||||
|
Loading…
Reference in New Issue
Block a user