Limit parser recursion depth further (needed by increased assembly data structure size)

This commit is contained in:
Alex Beregszaszi
2017-09-20 11:16:23 +02:00
committed by chriseth
parent 3b813ed295
commit 6948758156
+1 -1
View File
@@ -104,7 +104,7 @@ void ParserBase::expectToken(Token::Value _value)
void ParserBase::increaseRecursionDepth()
{
m_recursionDepth++;
if (m_recursionDepth >= 3000)
if (m_recursionDepth >= 2560)
fatalParserError("Maximum recursion depth reached during parsing.");
}