File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -902,7 +902,8 @@ class OurFeatures {
902
902
bool strictRoot_;
903
903
bool allowDroppedNullPlaceholders_;
904
904
bool allowNumericKeys_;
905
- }; // OldFeatures
905
+ int stackLimit_;
906
+ }; // OurFeatures
906
907
907
908
// exact copy of Implementation of class Features
908
909
// ////////////////////////////////
@@ -1853,6 +1854,7 @@ CharReader* CharReaderBuilder::newCharReader() const
1853
1854
features.strictRoot_ = settings_[" strictRoot" ].asBool ();
1854
1855
features.allowDroppedNullPlaceholders_ = settings_[" allowDroppedNullPlaceholders" ].asBool ();
1855
1856
features.allowNumericKeys_ = settings_[" allowNumericKeys" ].asBool ();
1857
+ features.stackLimit_ = settings_[" stackLimit" ].asInt ();
1856
1858
return new OurCharReader (collectComments, features);
1857
1859
}
1858
1860
static void getValidReaderKeys (std::set<std::string>* valid_keys)
You can’t perform that action at this time.
0 commit comments