Commit c02d52ad authored by Milo Yip's avatar Milo Yip

Fix documentation mistake in #620

parent a636c794
......@@ -163,7 +163,7 @@ Document d;
if (d.Parse(json).HasParseError()) {
fprintf(stderr, "\nError(offset %u): %s\n",
(unsigned)d.GetErrorOffset(),
GetParseError_En(d.GetParseErrorCode()));
GetParseError_En(d.GetParseError()));
// ...
}
~~~~~~~~~~
......
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