♻️ adjusting lexer/parser in symmetry to #1006
This commit is contained in:
parent
b56ac86471
commit
8557151d90
5 changed files with 34 additions and 12 deletions
|
@ -32,6 +32,7 @@ class parser
|
|||
using number_integer_t = typename BasicJsonType::number_integer_t;
|
||||
using number_unsigned_t = typename BasicJsonType::number_unsigned_t;
|
||||
using number_float_t = typename BasicJsonType::number_float_t;
|
||||
using string_t = typename BasicJsonType::string_t;
|
||||
using lexer_t = lexer<BasicJsonType>;
|
||||
using token_type = typename lexer_t::token_type;
|
||||
|
||||
|
@ -175,7 +176,7 @@ class parser
|
|||
}
|
||||
|
||||
// parse values
|
||||
std::string key;
|
||||
string_t key;
|
||||
BasicJsonType value;
|
||||
while (true)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue