From c48b3979c30d7597d1440cf71141d1bb86f58bd3 Mon Sep 17 00:00:00 2001 From: Benjamin BOUVIER Date: Fri, 5 Oct 2012 18:06:45 -0400 Subject: [PATCH] eo::serial::Parser: if spaces were present after colons, they were not ignored. Fixed by this patch. --- eo/src/serial/Parser.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/eo/src/serial/Parser.cpp b/eo/src/serial/Parser.cpp index f46c829e1..57b52a0dd 100644 --- a/eo/src/serial/Parser.cpp +++ b/eo/src/serial/Parser.cpp @@ -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