]> granicus.if.org Git - clang/commitdiff
Bump up the MaxDepth in the BalancedDelimiterTracker.
authorChad Rosier <mcrosier@apple.com>
Fri, 27 Apr 2012 22:14:13 +0000 (22:14 +0000)
committerChad Rosier <mcrosier@apple.com>
Fri, 27 Apr 2012 22:14:13 +0000 (22:14 +0000)
The Avida Project (http://avida.devosoft.org) exceeds the 256 limit.
rdar://11289131

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@155737 91177308-0d34-0410-b5e6-96231b3b80d8

include/clang/Parse/Parser.h

index 9d9a666c9c95e0354efcf9659d38e343c2c87d72..6404c9fbd4ff6d4c8be9a9734a0665672d2e6cc7 100644 (file)
@@ -451,7 +451,7 @@ private:
       }
     }
     
-    enum { MaxDepth = 256 };
+    enum { MaxDepth = 512 };
     
     bool diagnoseOverflow();
     bool diagnoseMissingClose();