diff options
author | Christian Kandeler <christian.kandeler@qt.io> | 2021-04-19 15:32:45 +0200 |
---|---|---|
committer | Christian Kandeler <christian.kandeler@qt.io> | 2021-04-20 09:57:13 +0000 |
commit | f31d583081e612e1db50a3c4165aa41c645549f9 (patch) | |
tree | 25d8297f45526967819d04d5bc2fb298974c2992 /src/libs/3rdparty/cplusplus/Parser.cpp | |
parent | 743ef263c9479ef06a56de154611a01c6aee9973 (diff) |
CPlusPlus: Increase maximum statement depth
We're hitting the limit in a real-world project.
(Of course, it's pretty horrific that we unconditionally access pointers
that can legally be null, but that's difficult to change now.)
Fixes: QTCREATORBUG-25606
Change-Id: I1d8c883550e8968bbfa6ce26965573697774361f
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
Diffstat (limited to 'src/libs/3rdparty/cplusplus/Parser.cpp')
-rw-r--r-- | src/libs/3rdparty/cplusplus/Parser.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libs/3rdparty/cplusplus/Parser.cpp b/src/libs/3rdparty/cplusplus/Parser.cpp index b5cf315e64..7116f1abf4 100644 --- a/src/libs/3rdparty/cplusplus/Parser.cpp +++ b/src/libs/3rdparty/cplusplus/Parser.cpp @@ -39,7 +39,7 @@ #define CPLUSPLUS_NO_DEBUG_RULE #define MAX_EXPRESSION_DEPTH 1000 -#define MAX_STATEMENT_DEPTH 100 +#define MAX_STATEMENT_DEPTH 300 using namespace CPlusPlus; |