dump: fix xml format

This commit is contained in:
Daniel Marjamäki 2017-04-15 14:03:49 +02:00
parent 934183baef
commit f90d8c9987
1 changed files with 2 additions and 0 deletions

View File

@ -3924,6 +3924,8 @@ void Tokenizer::dump(std::ostream &out) const
std::string::size_type pos = s.find("container(");
if (pos != std::string::npos)
s.erase(pos+9, s.find(")",pos)-pos-8);
if ((pos = s.find("iterator(")) != std::string::npos)
s.erase(pos+8, s.find(")",pos)-pos-7);
out << " valueType=\"" << s << '\"';
}
out << "/>" << std::endl;