eo::serial::Parser: if spaces were present after colons, they were not ignored. Fixed by this patch.

This commit is contained in:
Benjamin BOUVIER 2012-10-05 18:06:45 -04:00
commit c48b3979c3

View file

@ -118,6 +118,7 @@ Entity* Parser::parseRight(const std::string & str, size_t & pos)
{
Entity* value = 0;
ignoreChars( str, pos );
if ( str[ pos ] == '{' )
{
// next one is an object