Reduce max recursion depth.

This commit is contained in:
chriseth 2017-08-22 12:32:15 +02:00
parent 692e4c57e8
commit 628b54ce35

View File

@ -104,7 +104,7 @@ void ParserBase::expectToken(Token::Value _value)
void ParserBase::increaseRecursionDepth()
{
m_recursionDepth++;
if (m_recursionDepth >= 4096)
if (m_recursionDepth >= 3000)
fatalParserError("Maximum recursion depth reached during parsing.");
}