Skip to content

Add default value of stackLimit couple of places #364

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Sep 23, 2015

Conversation

ya1gaurav
Copy link
Contributor

stackLimit default value is missing at two places.Adding them.

stackLimit default value is missing at two places.Adding them.
@@ -910,6 +910,7 @@ OurFeatures::OurFeatures()
, allowSingleQuotes_(false)
, failIfExtra_(false)
, allowSpecialFloats_(false)
, stackLimit_(1000)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Instead of adding this, let's remove this ctor completely. The default is fine, since we always completely over-ride the values in newCharReader().

Please review suggested changes.
cdunn2001 added a commit that referenced this pull request Sep 23, 2015
Have default ctor for OurFeatures
@cdunn2001 cdunn2001 merged commit 2e625dd into open-source-parsers:master Sep 23, 2015
cdunn2001 added a commit that referenced this pull request Sep 23, 2015
See #363, similar to #364.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants