[cmake-commits] hoffman committed cmCommandArgumentParser.cxx 1.11 1.12

cmake-commits at cmake.org cmake-commits at cmake.org
Fri Jul 20 14:08:39 EDT 2007


Update of /cvsroot/CMake/CMake/Source
In directory public:/mounts/ram/cvs-serv8501/Source

Modified Files:
	cmCommandArgumentParser.cxx 
Log Message:
ENH: user more memory for parser and add test to complex that sets a huge string


Index: cmCommandArgumentParser.cxx
===================================================================
RCS file: /cvsroot/CMake/CMake/Source/cmCommandArgumentParser.cxx,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -d -r1.11 -r1.12
--- cmCommandArgumentParser.cxx	5 Mar 2007 15:36:06 -0000	1.11
+++ cmCommandArgumentParser.cxx	20 Jul 2007 18:08:36 -0000	1.12
@@ -167,8 +167,9 @@
 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.  */



More information about the Cmake-commits mailing list