summaryrefslogtreecommitdiff
path: root/Source/cmCommandArgumentParser.cxx
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2007-07-20 14:08:37 -0400
committerBill Hoffman <bill.hoffman@kitware.com>2007-07-20 14:08:37 -0400
commitfcad93e17219bcddd566949dad82d44401926930 (patch)
treed55943fb8ad959627716672f2fdbd02af03b8849 /Source/cmCommandArgumentParser.cxx
parent2fb1c43a1128d91cffcbfaadf56a3f5d94b1823d (diff)
downloadcmake-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.cxx5
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. */