mi parser: don't construct dummy tuples, but parse lists directly

This commit is contained in:
Oswald Buddenhagen
2009-11-30 15:17:34 +01:00
parent b4be611e1b
commit 9c66c06820
4 changed files with 15 additions and 15 deletions

View File

@@ -348,6 +348,13 @@ void GdbMi::fromString(const QByteArray &ba)
parseResultOrValue(from, to);
}
void GdbMi::fromStringMultiple(const QByteArray &ba)
{
const char *from = ba.constBegin();
const char *to = ba.constEnd();
parseTuple_helper(from, to);
}
GdbMi GdbMi::findChild(const char *name) const
{
for (int i = 0; i < m_children.size(); ++i)