From b40408a755e500b593395fdd12a4aecee216fc35 Mon Sep 17 00:00:00 2001 From: Trevor Welsby Date: Sun, 17 Jan 2016 20:26:40 +1000 Subject: [PATCH] Fully support int64_t/uint64_t numbers, add unsigned type --- src/json.hpp | 4 ++-- src/json.hpp.re2c | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/json.hpp b/src/json.hpp index 3563e9ce3..00204f6bd 100644 --- a/src/json.hpp +++ b/src/json.hpp @@ -534,7 +534,7 @@ class basic_json */ using number_integer_t = NumberIntegerType; - /*! + /*! @brief a type for a number (unsigned) [RFC 7159](http://rfc7159.net/rfc7159) describes numbers as follows: @@ -7498,7 +7498,7 @@ basic_json_parser_64: */ void get_number(basic_json& result) const { - typename string_t::value_type* float_endptr, *endptr; + typename string_t::value_type* endptr; assert(m_start != nullptr); // Parse it as an integer diff --git a/src/json.hpp.re2c b/src/json.hpp.re2c index 8d342e485..e10ffc3b8 100644 --- a/src/json.hpp.re2c +++ b/src/json.hpp.re2c @@ -534,7 +534,7 @@ class basic_json */ using number_integer_t = NumberIntegerType; - /*! + /*! @brief a type for a number (unsigned) [RFC 7159](http://rfc7159.net/rfc7159) describes numbers as follows: @@ -7180,7 +7180,7 @@ class basic_json */ void get_number(basic_json& result) const { - typename string_t::value_type* float_endptr, *endptr; + typename string_t::value_type* endptr; assert(m_start != nullptr); // Parse it as an integer