Commit ebb9a250 authored by thebusytypist's avatar thebusytypist

It is sufficient to check finish state in iterative parsing.

parent 7d33b015
...@@ -968,7 +968,7 @@ private: ...@@ -968,7 +968,7 @@ private:
} }
stack_.Clear(); stack_.Clear();
return state == IterativeParsingFinishState && !HasParseError(); return state == IterativeParsingFinishState;
} }
static const size_t kDefaultStackCapacity = 256; //!< Default stack capacity in bytes for storing a single decoded string. static const size_t kDefaultStackCapacity = 256; //!< Default stack capacity in bytes for storing a single decoded string.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment