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 authored and Christian Parpart committed 2019-06-17 14:47:07 +02:00
1 parent ca3afea1d7
commit 0b65cf8af5
1 file changed
+1 -1
+1 -1
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.");
}