Correcting typo

This commit is contained in:
Daniel Lemire 2020-03-09 17:55:26 -04:00
parent 66a2807210
commit f669aafcf2
1 changed files with 2 additions and 2 deletions

View File

@ -82,7 +82,7 @@ really_inline bool is_integer(char c) {
} }
// We need to check that the character following a zero is valid. This is // We need to check that the character following a zero is valid. This is
// probably frequent and it is hard than it looks. We are building all of this // probably frequent and it is harder than it looks. We are building all of this
// just to differentiate between 0x1 (invalid), 0,1 (valid) 0e1 (valid)... // just to differentiate between 0x1 (invalid), 0,1 (valid) 0e1 (valid)...
const bool structural_or_whitespace_or_exponent_or_decimal_negated[256] = { const bool structural_or_whitespace_or_exponent_or_decimal_negated[256] = {
1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
@ -557,4 +557,4 @@ really_inline bool parse_number(UNUSED const uint8_t *const buf,
#endif // SIMDJSON_SKIPNUMBERPARSING #endif // SIMDJSON_SKIPNUMBERPARSING
} }
} // namespace numberparsing } // namespace numberparsing