Adding style scripts. (#243)

* Adding style scripts.
This commit is contained in:
Daniel Lemire
2019-08-01 16:09:26 -04:00
committed by GitHub
parent 0610ebc514
commit 038b18edf1
12 changed files with 439 additions and 42 deletions
+1 -1
View File
@@ -20,7 +20,7 @@ ParsedJson::Iterator::Iterator(ParsedJson &pj_)
depth_index[0].scope_type = current_type;
if (current_type == 'r') {
tape_length = current_val & JSON_VALUE_MASK;
if (location < tape_length) {
if (location < tape_length) {
// If we make it here, then depth_capacity must >=2, but the compiler
// may not know this.
current_val = pj.tape[location];