Fix to issue #148. (#151)

* Issue #148 fix.

* Test cases for issue #148.
This commit is contained in:
technateNG
2019-05-08 02:56:36 +02:00
committed by Daniel Lemire
parent 719dff1312
commit 6f0d350f2c
4 changed files with 9 additions and 0 deletions
+6
View File
@@ -609,6 +609,12 @@ WARN_UNUSED
quote_bits, prev_iter_ends_pseudo_pred);
idx += 64;
}
// is last string quote closed?
if (prev_iter_inside_quote) {
return false;
}
// finally, flatten out the remaining structurals from the last iteration
flatten_bits(base_ptr, base, idx, structurals);