File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -902,7 +902,8 @@ class OurFeatures {
902902 bool strictRoot_;
903903 bool allowDroppedNullPlaceholders_;
904904 bool allowNumericKeys_;
905- }; // OldFeatures
905+ int stackLimit_;
906+ }; // OurFeatures
906907
907908// exact copy of Implementation of class Features
908909// ////////////////////////////////
@@ -1853,6 +1854,7 @@ CharReader* CharReaderBuilder::newCharReader() const
18531854 features.strictRoot_ = settings_[" strictRoot" ].asBool ();
18541855 features.allowDroppedNullPlaceholders_ = settings_[" allowDroppedNullPlaceholders" ].asBool ();
18551856 features.allowNumericKeys_ = settings_[" allowNumericKeys" ].asBool ();
1857+ features.stackLimit_ = settings_[" stackLimit" ].asInt ();
18561858 return new OurCharReader (collectComments, features);
18571859}
18581860static void getValidReaderKeys (std::set<std::string>* valid_keys)
You can’t perform that action at this time.
0 commit comments