summaryrefslogtreecommitdiff
path: root/cpp/src/Slice/GrammarUtil.h
diff options
context:
space:
mode:
authorBernard Normier <bernard@zeroc.com>2008-03-25 11:00:43 -0400
committerBernard Normier <bernard@zeroc.com>2008-03-25 11:00:43 -0400
commit7fb1f3defe7c72e511fbcd847198a21ea54ed823 (patch)
tree61e362865531d11b6388c58dd2b9a2fd2cea107f /cpp/src/Slice/GrammarUtil.h
parentAdded missing isLinux definition to DemoUtil.py (diff)
downloadice-7fb1f3defe7c72e511fbcd847198a21ea54ed823.tar.bz2
ice-7fb1f3defe7c72e511fbcd847198a21ea54ed823.tar.xz
ice-7fb1f3defe7c72e511fbcd847198a21ea54ed823.zip
Fixed bug #668
Diffstat (limited to 'cpp/src/Slice/GrammarUtil.h')
-rw-r--r--cpp/src/Slice/GrammarUtil.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/src/Slice/GrammarUtil.h b/cpp/src/Slice/GrammarUtil.h
index bb9cab1e1b1..2283dfef2cb 100644
--- a/cpp/src/Slice/GrammarUtil.h
+++ b/cpp/src/Slice/GrammarUtil.h
@@ -192,7 +192,7 @@ int slice_parse();
// YYSTYPE, since YYSTYPE is a C++ type, with constructor, destructor,
// assignment operator, etc.
//
-#define YYMAXDEPTH 20000 // 20000 should suffice. Bison default is 10000 as maximum.
+#define YYMAXDEPTH 10000
#define YYINITDEPTH YYMAXDEPTH // Initial depth is set to max depth, for the reasons described above.
//