diff --git a/starmath/inc/parsebase.hxx b/starmath/inc/parsebase.hxx index dd53ce631c11..1cac2a917a08 100644 --- a/starmath/inc/parsebase.hxx +++ b/starmath/inc/parsebase.hxx @@ -30,7 +30,7 @@ #include #include -#define DEPTH_LIMIT 1024 +constexpr int DEPTH_LIMIT = 256 * 6; // Those are the errors that the parser may encounter. enum class SmParseError : uint_fast8_t