namespace json_spirit
{
- const spirit_namespace::int_parser < boost::int64_t > int64_p = spirit_namespace::int_parser < boost::int64_t >();
- const spirit_namespace::uint_parser< boost::uint64_t > uint64_p = spirit_namespace::uint_parser< boost::uint64_t >();
+ const spirit_namespace::int_parser < int64_t > int64_p = spirit_namespace::int_parser < int64_t >();
+ const spirit_namespace::uint_parser< uint64_t > uint64_p = spirit_namespace::uint_parser< uint64_t >();
template< class Iter_type >
bool is_eq( Iter_type first, Iter_type last, const char* c_str )
add_to_current( Value_type() );
}
- void new_int( boost::int64_t i )
+ void new_int( int64_t i )
{
add_to_current( i );
}
- void new_uint64( boost::uint64_t ui )
+ void new_uint64( uint64_t ui )
{
add_to_current( ui );
}
static void throw_not_value( Iter_type begin, Iter_type end )
{
- throw_error( begin, "not a value" );
+ throw_error( begin, "not a value" );
}
static void throw_not_array( Iter_type begin, Iter_type end )
{
- throw_error( begin, "not an array" );
+ throw_error( begin, "not an array" );
}
static void throw_not_object( Iter_type begin, Iter_type end )
{
- throw_error( begin, "not an object" );
+ throw_error( begin, "not an object" );
}
static void throw_not_pair( Iter_type begin, Iter_type end )
{
- throw_error( begin, "not a pair" );
+ throw_error( begin, "not a pair" );
}
static void throw_not_colon( Iter_type begin, Iter_type end )
{
- throw_error( begin, "no colon in pair" );
+ throw_error( begin, "no colon in pair" );
}
static void throw_not_string( Iter_type begin, Iter_type end )
{
- throw_error( begin, "not a string" );
+ throw_error( begin, "not a string" );
}
template< typename ScannerT >
typedef boost::function< void( Char_type ) > Char_action;
typedef boost::function< void( Iter_type, Iter_type ) > Str_action;
typedef boost::function< void( double ) > Real_action;
- typedef boost::function< void( boost::int64_t ) > Int_action;
- typedef boost::function< void( boost::uint64_t ) > Uint64_action;
+ typedef boost::function< void( int64_t ) > Int_action;
+ typedef boost::function< void( uint64_t ) > Uint64_action;
Char_action begin_obj ( boost::bind( &Semantic_actions_t::begin_obj, &self.actions_, _1 ) );
Char_action end_obj ( boost::bind( &Semantic_actions_t::end_obj, &self.actions_, _1 ) );