forked from qt-creator/qt-creator
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>
This commit is contained in:
2
src/libs/3rdparty/cplusplus/Parser.cpp
vendored
2
src/libs/3rdparty/cplusplus/Parser.cpp
vendored
@@ -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;
|
||||
|
||||
|
Reference in New Issue
Block a user