From 1c2c710ec9e0b7dd0ed9a4fd24dc8e475f9194b5 Mon Sep 17 00:00:00 2001 From: ToruNiina Date: Thu, 4 Jan 2024 21:02:18 +0900 Subject: [PATCH] refactor: add comment --- toml/parser.hpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/toml/parser.hpp b/toml/parser.hpp index 9c1a83e..a8553dc 100644 --- a/toml/parser.hpp +++ b/toml/parser.hpp @@ -23,6 +23,9 @@ #endif // __cpp_lib_filesystem #endif // TOML11_DISABLE_STD_FILESYSTEM +// the previous commit works with 500+ recursions. so it may be too small. +// but in most cases, i think we don't need such a deep recursion of +// arrays or inline-tables. #define TOML11_VALUE_RECURSION_LIMIT 64 namespace toml