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

This commit is contained in:
Alex Beregszaszi 2017-09-19 12:03:45 +01:00 committed by chriseth
parent 3b813ed295
commit 6948758156

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.");
}