commit | cd183f92b0d2360eb89690ef63964fd2faefe6da | [log] [tgz] |
---|---|---|
author | Nigel Tao <nigeltao@golang.org> | Tue Jul 14 12:11:05 2020 +1000 |
committer | Nigel Tao <nigeltao@golang.org> | Tue Jul 14 12:11:05 2020 +1000 |
tree | 995d2692443a6e1ab45b6890660ee023c8787954 | |
parent | ecadf72e6b1874b99384d227f29965968a105fa4 [diff] |
Fix jsonptr start_of_token_chain initial value
diff --git a/example/jsonptr/jsonptr.cc b/example/jsonptr/jsonptr.cc index 2bee059..421fd72 100644 --- a/example/jsonptr/jsonptr.cc +++ b/example/jsonptr/jsonptr.cc
@@ -1063,7 +1063,7 @@ main1(int argc, char** argv) { TRY(initialize_globals(argc, argv)); - bool start_of_token_chain = false; + bool start_of_token_chain = true; while (true) { wuffs_base__status status = g_dec.decode_tokens( &g_tok, &g_src,