Skip to content

Commit

Permalink
Tiny fix
Browse files Browse the repository at this point in the history
Make example code var names match API above for consistency
  • Loading branch information
StilesCrisis authored and StilesCrisis committed Feb 28, 2017
1 parent 5c2bb18 commit 0f3bf99
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/sax.md
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ Here is an example of iteratively parsing JSON, token by token:
~~~~~~~~~~cpp
reader.IterativeParseInit();
while (!reader.IterativeParseComplete()) {
reader.IterativeParseNext<kParseDefaultFlags>(ss, handler);
reader.IterativeParseNext<kParseDefaultFlags>(is, handler);
// Your handler has been called once.
}
~~~~~~~~~~
Expand Down

0 comments on commit 0f3bf99

Please sign in to comment.