returnsax->parse_error(chars_read,number_string,parse_error::create(115,chars_read,exception_message(input_format_t::ubjson,"invalid number text: "+number_lexer.get_token_string(),"high-precision number")));
returnsax->parse_error(chars_read,number_string,parse_error::create(115,chars_read,exception_message(input_format_t::ubjson,"invalid number text: "+number_lexer.get_token_string(),"high-precision number")));
}
}
}
case'C':// char
case'C':// char
...
@@ -2226,6 +2182,55 @@ class binary_reader
...
@@ -2226,6 +2182,55 @@ class binary_reader
// Note, no reader for UBJSON binary types is implemented because they do
// Note, no reader for UBJSON binary types is implemented because they do
returnsax->parse_error(chars_read,number_string,parse_error::create(115,chars_read,exception_message(input_format_t::ubjson,"invalid number text: "+number_lexer.get_token_string(),"high-precision number")));
returnsax->parse_error(chars_read,number_string,parse_error::create(115,chars_read,exception_message(input_format_t::ubjson,"invalid number text: "+number_lexer.get_token_string(),"high-precision number")));
returnsax->parse_error(chars_read,number_string,parse_error::create(115,chars_read,exception_message(input_format_t::ubjson,"invalid number text: "+number_lexer.get_token_string(),"high-precision number")));
returnsax->parse_error(chars_read,number_string,parse_error::create(115,chars_read,exception_message(input_format_t::ubjson,"invalid number text: "+number_lexer.get_token_string(),"high-precision number")));
}
}
}
case'C':// char
case'C':// char
...
@@ -9839,6 +9795,55 @@ class binary_reader
...
@@ -9839,6 +9795,55 @@ class binary_reader
// Note, no reader for UBJSON binary types is implemented because they do
// Note, no reader for UBJSON binary types is implemented because they do
returnsax->parse_error(chars_read,number_string,parse_error::create(115,chars_read,exception_message(input_format_t::ubjson,"invalid number text: "+number_lexer.get_token_string(),"high-precision number")));
returnsax->parse_error(chars_read,number_string,parse_error::create(115,chars_read,exception_message(input_format_t::ubjson,"invalid number text: "+number_lexer.get_token_string(),"high-precision number")));