From: José Fonseca Date: Mon, 13 Apr 2009 12:24:20 +0000 (+0100) Subject: Cope with recursive calls tags in the XML. X-Git-Url: https://git.cworth.org/git?a=commitdiff_plain;h=aa1007be2690f75d4aa32cfebad0b472137c85b3;p=apitrace Cope with recursive calls tags in the XML. --- diff --git a/xml2txt.py b/xml2txt.py index b73d146..f9fde2e 100755 --- a/xml2txt.py +++ b/xml2txt.py @@ -248,6 +248,8 @@ class TraceParser(XmlParser): args.append(arg) elif self.token.name_or_data == 'ret': ret = self.parse_ret() + elif self.token.name_or_data == 'call': + self.parse_call() else: raise TokenMismatch(" or ", self.token) self.element_end('call')