Index: src/value_semantic.cpp =================================================================== --- src/value_semantic.cpp (Revision 57194) +++ src/value_semantic.cpp (Arbeitskopie) @@ -169,15 +169,7 @@ void validate(any& v, const vector& xs, std::string*, int) { check_first_occurrence(v); - string s(get_single_string(xs)); - if (!s.empty() && ( - (*s.begin() == '\'' && *s.rbegin() == '\'' || - *s.begin() == '"' && *s.rbegin() == '"'))) - { - v = any(s.substr(1, s.size()-2)); - } - else - v = any(s); + v = any(get_single_string(xs)); } #if !defined(BOOST_NO_STD_WSTRING) @@ -185,12 +177,7 @@ void validate(any& v, const vector& xs, std::string*, int) { check_first_occurrence(v); - wstring s(get_single_string(xs)); - if (*s.begin() == L'\'' && *s.rbegin() == L'\'' || - *s.begin() == L'"' && *s.rbegin() == L'"') - v = any(s.substr(1, s.size()-2)); - else - v = any(s); + v = any(get_single_string(xs)); } #endif