diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2007-07-20 14:08:37 -0400 |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2007-07-20 14:08:37 -0400 |
commit | fcad93e17219bcddd566949dad82d44401926930 (patch) | |
tree | d55943fb8ad959627716672f2fdbd02af03b8849 /Source/cmCommandArgumentParser.cxx | |
parent | 2fb1c43a1128d91cffcbfaadf56a3f5d94b1823d (diff) | |
download | cmake-fcad93e17219bcddd566949dad82d44401926930.tar.gz |
ENH: user more memory for parser and add test to complex that sets a huge string
Diffstat (limited to 'Source/cmCommandArgumentParser.cxx')
-rw-r--r-- | Source/cmCommandArgumentParser.cxx | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Source/cmCommandArgumentParser.cxx b/Source/cmCommandArgumentParser.cxx index 4ccb4dbc0c..3df3ab2a93 100644 --- a/Source/cmCommandArgumentParser.cxx +++ b/Source/cmCommandArgumentParser.cxx @@ -167,8 +167,9 @@ YY_DECL; static void cmCommandArgumentError(yyscan_t yyscanner, const char* message); #define YYDEBUG 1 -//#define YYMAXDEPTH 100000 -//#define YYINITDEPTH 10000 +// Set these high so that +#define YYMAXDEPTH 100000 +#define YYINITDEPTH 10000 /* Disable some warnings in the generated code. */ |