xml dump: fixed cppcheckdata loader so previous/next will work

This commit is contained in:
Daniel Marjamäki 2014-07-17 07:39:19 +02:00
parent 27829383a5
commit d3425d5c61
1 changed files with 1 additions and 0 deletions

View File

@ -175,6 +175,7 @@ class CppcheckData:
token.previous = prev
if prev:
prev.next = token
prev = token
if element.tag == 'scopes':
for scope in element:
self.scopes.append(Scope(scope))