Still working

This commit is contained in:
Daniel Lemire
2018-11-27 10:10:39 -05:00
parent 50defa510f
commit 5fae7b2100
15 changed files with 134 additions and 91 deletions
+1 -1
View File
@@ -114,7 +114,7 @@ really_inline bool parse_string(const u8 *buf, UNUSED size_t len,
// we encountered quotes first. Move dst to point to quotes and exit
dst[quote_dist] = 0; // null terminate and get out
pj.write_tape(depth, pj.current_string_buf_loc - pj.string_buf, '"');
pj.write_tape(pj.current_string_buf_loc - pj.string_buf, '"');
pj.current_string_buf_loc = dst + quote_dist + 1; // the +1 is due to the 0 value
#ifdef CHECKUNESCAPED