浏览代码

ENH: user more memory for parser and add test to complex that sets a huge string

Bill Hoffman 18 年之前
父节点
当前提交
fcad93e172

+ 3 - 2
Source/cmCommandArgumentParser.cxx

@@ -167,8 +167,9 @@ YY_DECL;
 static void cmCommandArgumentError(yyscan_t yyscanner, const char* message);
 static void cmCommandArgumentError(yyscan_t yyscanner, const char* message);
 
 
 #define YYDEBUG 1
 #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.  */
 /* Disable some warnings in the generated code.  */

文件差异内容过多而无法显示
+ 0 - 0
Tests/Complex/CMakeLists.txt


文件差异内容过多而无法显示
+ 0 - 0
Tests/ComplexOneConfig/CMakeLists.txt


文件差异内容过多而无法显示
+ 0 - 0
Tests/ComplexRelativePaths/CMakeLists.txt


部分文件因为文件数量过多而无法显示