mirror of
https://github.com/simdjson/simdjson
synced 2026-06-08 17:27:07 +00:00
Adding more tests.
This commit is contained in:
@@ -170,6 +170,8 @@ bool unified_machine(const u8 *buf, size_t len, ParsedJson &pj) {
|
||||
}
|
||||
#ifdef SIMDJSON_ALLOWANYTHINGINROOT
|
||||
depth--; // for fall-through cases (e.g., documents containing just a string)
|
||||
pj.annotate_previousloc(pj.containing_scope_offset[depth],
|
||||
pj.get_current_loc());
|
||||
#endif // ALLOWANYTHINGINROOT
|
||||
|
||||
start_continue:
|
||||
|
||||
Reference in New Issue
Block a user