Fixes stack-too-deep errors (soltest) on Windows by reducing recursion depth accordingly. (Caused by introducing try/catch blocks increased stack frame size)

This commit is contained in:
Christian Parpart 2019-06-17 12:01:31 +02:00 committed by Christian Parpart
parent ca3afea1d7
commit 0b65cf8af5

View File

@ -137,7 +137,7 @@ void ParserBase::expectTokenOrConsumeUntil(Token _value, string const& _currentN
void ParserBase::increaseRecursionDepth()
{
m_recursionDepth++;
if (m_recursionDepth >= 2560)
if (m_recursionDepth >= 1200)
fatalParserError("Maximum recursion depth reached during parsing.");
}